Ensure that the admission control plugin SecurityContextDeny is set if PodSecurityPolicy is not used

MEDIUM
Source
Trivy
ID
1.2.13
Version
1.23

1.2.13 - Ensure that the admission control plugin SecurityContextDeny is set if PodSecurityPolicy is not used

The SecurityContextDeny admission controller can be used to deny pods which make use of some SecurityContext fields which could allow for privilege escalation in the cluster. This should be used where PodSecurityPolicy is not in place within the cluster

Control Checks

  • AVD-KCV-0013 - Ensure that the admission control plugin SecurityContextDeny is set if PodSecurityPolicy is not used