Open avik-so opened 4 years ago
There isn't a way to mark external exposure as intentional. While it may not be a misconfiguration, it adds risk of compromise of that workload. Possible mitigation include:
The result of this is developers ignoring the warning in other cases when it is not intentional. Sounds like those mitigations would still cause the warning to be reported?
We are working on taking into account mitigations when calculating the risk score. It will not cause exposure not to be reported though. The way to express intent is via policy, which at this time, is only supported in our (Octarine) enterprise product.
Thanks for your response. A lower score would be very helpful. You can close this issue, in the chance that you want to use this issue for that feature you are working on, I'm not closing it myself.
Is there a way to tell
kube-scan
that this is intentional? Also, what is the suggested fix here if you want your service to be accessible from the internet?