kubeeye/checks/privilegeEscalationAllowed....

14 lines
346 B
YAML

#successMessage: Privilege escalation not allowed
promptMessage: Privilege escalation should not be allowed
category: Security
target: Container
schema:
'$schema': http://json-schema.org/draft-07/schema
type: object
properties:
securityContext:
properties:
allowPrivilegeEscalation:
not:
const: true