aquasecurity / kube-hunter

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

Support scanning of vmware pks clusters #346

Open arminhoh opened 4 years ago

arminhoh commented 4 years ago

What would you like to be added

With vmware pks the default api port is 8443. At the moment a remote scan results in no clusters being found. I was able to fix this locally for me by adding the port to kube_hunter/modules/discovery/apiserver.py and kube_hunter/modules/discovery/ports.py .

Why is this needed

This should be added to support remote scanning of vmware pks clusters.