aquasecurity / kube-hunter

Hunt for security weaknesses in Kubernetes clusters
Apache License 2.0
4.76k stars 584 forks source link

How to get version of kube-hunter #526

Open immakavi opened 2 years ago

immakavi commented 2 years ago

Using kube-hunter binary file to run scans. I need to print or get kube-hunter version I am running (NOTE: In my organization central team is responsible to get binaries to intra-net so we could download )

When I checked the documentation and source code, could not find a way to get current version of kube-hunter.

What are you trying to achieve

To print or log kube-hunter version from kube-hunter binary file

Minimal example (if applicable)

NA

domenjesenovec commented 1 year ago

Same issue here. We need a way to print out the version of the kube-hunter running to produce the list of containers we run in our clusters. Kube-bench already has this feature (version command), similar would be nice for kube-hunter.