aquasecurity / kube-hunter

Hunt for security weaknesses in Kubernetes clusters
Apache License 2.0
4.75k stars 585 forks source link

Enable external plugins #321

Closed iyehuda closed 4 years ago

iyehuda commented 4 years ago

What would you like to be added

Enable using plugins without the need to put code in plugins/ folder. We can use [pluggy]() for the mission. In order to do that we should refactor the way we run hunters according to #339

Why is this needed

Right now using plugins is not so useful since you need to put the plugin code inside kube-hunter source. It will be more helpful to be able to create a plugin as a separate package. We can use pluggy as being used by pytest and tox.