Ensure security context is applied to pods and containers with SELinux configured

MEDIUM

Description

Security context is not applied to pods and containers with SELinux configured.

Remediation

When designing your containers and pods, make sure that you configure the security context for your pods, containers, and volumes. A security context is a property defined in the deployment yaml. It controls the security parameters that will be assigned to the pod/container/volume.

Policy Details

Rule Reference ID: AC_K8S_0115
Remediation Available: No
Resource: kubernetes_pod
Resource Category: Compute
Resource Type: Pod

Frameworks