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
Your question
I observed that the output of $ kubesec print-rules shows values for both "points" and "advise". I do not understand how the advise for the .runAsNonRoot context works though. Why does it have 1 point and 10 advise? For example, where does the 10 advise points come into play and in what situations?
{
"id": "RunAsNonRoot",
"selector": "containers[] .securityContext .runAsNonRoot == true",
"reason": "Force the running image to run as a non-root user to ensure least privilege",
"kinds": [
"Pod",
"Deployment",
"StatefulSet",
"DaemonSet"
],
"points": 1,
"advise": 10
}
The text was updated successfully, but these errors were encountered:
Your question
I observed that the output of
$ kubesec print-rules
shows values for both "points" and "advise". I do not understand how the advise for the .runAsNonRoot context works though. Why does it have 1 point and 10 advise? For example, where does the 10 advise points come into play and in what situations?The text was updated successfully, but these errors were encountered: