SELinux options should not be configured on containers
Security context should not configured with SELinux options.
Risk Level: Low
Cloud Entity: Pods
CloudGuard Rule ID: D9.K8S.AC.23
Covered by Spectral: No
Category: Compute
GSL LOGIC
KubernetesPod should have spec.containers contain-none [ securityContext.seLinuxOptions] and spec.initContainers contain-none [ securityContext.seLinuxOptions ]
REMEDIATION
Pods
Pods are the smallest deployable units of computing that can be created and managed in Kubernetes.A Pod is a group of one or more containers (such as Docker containers), with shared storage/network, and a specification for how to run the containers.
Compliance Frameworks
- Container Admission Control
- Container Admission Control 1.0
Updated over 1 year ago