You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ran kube-hunter on Rancher cluster.
Got an 404 Not Found error for CIDR.
I am using kube-hunter 0.6.5 image and Rancher is running on k8s 1.23.
Expected behavior
The test should run successfully.
The execution starts from here when we confirm if we are using an aws pod or not. The token hits a token endpoint which always fetches a 200 response code(see screenshot). This is the main bug.
Once the condition is true, the condition calls the function here, where we hit an hardcoded API which fetches a 404 code when getting the response from token.
Solution - Instead of using a hardcoded api, the input can be taken from the user about which Cloud Provider should be used for the testing.
The text was updated successfully, but these errors were encountered:
What happened
Ran kube-hunter on Rancher cluster.
Got an 404 Not Found error for CIDR.
I am using kube-hunter 0.6.5 image and Rancher is running on k8s 1.23.
Expected behavior
The test should run successfully.
The execution starts from here when we confirm if we are using an aws pod or not. The token hits a token endpoint which always fetches a 200 response code(see screenshot). This is the main bug.
Once the condition is true, the condition calls the function here, where we hit an hardcoded API which fetches a 404 code when getting the response from token.
Solution - Instead of using a hardcoded api, the input can be taken from the user about which Cloud Provider should be used for the testing.
The text was updated successfully, but these errors were encountered: