aquasecurity / kube-hunter

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

Dashboard hunter not working #336

Closed iyehuda closed 4 years ago

iyehuda commented 4 years ago

What happened

There's a typo in https://github.com/aquasecurity/kube-hunter/blob/master/kube_hunter/modules/hunting/dashboard.py#L35. This raises an attribute error which will be silently ignored and logged at debug level. It impacts the dashboard hunter functionality.

Expected behavior

Working dashboard hunter.

Originally reported by @mormamn.