kubeeye/checks/runAsPrivileged.yaml

14 lines
318 B
YAML

#successMessage: Not running as privileged
promptMessage: Should not be running as privileged
category: Security
target: Container
schema:
'$schema': http://json-schema.org/draft-07/schema
type: object
properties:
securityContext:
properties:
privileged:
not:
const: true