aquasecurity / kube-hunter

Hunt for security weaknesses in Kubernetes clusters
Apache License 2.0
4.66k stars 578 forks source link

Validation for Remote Scanning Ip address provided #483

Open DiptoChakrabarty opened 2 years ago

DiptoChakrabarty commented 2 years ago

What would you like to be added

If an invalid ip address or node host name is provided , kube hunter still proceeds its process instead it should throw an error that the entry provided is incorrect

Selection_039

here for example a string is provided and kube hunter does all the port scanning process and everything Selection_040

Why is this needed

It will provide better debugging and application will be cleaner in terms of implementation