Check ID:
Provider: Kubernetes
Service:
Severity: HIGH
Categories:
Resource type:
core_minimize_privileged_containersProvider: Kubernetes
Service:
coreSeverity: HIGH
Categories:
container-securityResource type:
PodWhat this check verifies
Kubernetes Pods are evaluated for containers configured withsecurityContext.privileged: true, indicating execution in privileged mode.
Risk
Privileged containers can control the host and bypass isolation, enabling:- Secret theft (confidentiality)
- Workload/node tampering (integrity)
- Service disruption (availability) Compromise of one pod can drive lateral movement across the cluster.
Recommendation
Blockprivileged: true using Pod Security Admission at restricted. Apply least privilege:
- Run unprivileged; set
allowPrivilegeEscalation: false - Drop capabilities; avoid host access
- Restrict who can deploy privileged pods with RBAC
- Use short-lived, audited exceptions only when strictly required
Remediation
- Terraform
- Dashboard steps
References
- https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
- https://kubernetes.io/docs/tasks/configure-pod-container/enforce-standards-admission-controller/
- https://kubernetes.io/docs/setup/best-practices/enforcing-pod-security-standards/
- https://kubernetes.io/docs/concepts/security/pod-security-standards/
Where this check fires
This check runs on every scheduled scan against your Kubernetes account. Findings appear at Cloud Security → Findings filterable byCheck ID = core_minimize_privileged_containers. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to Kubernetes checks