Check ID:
Provider: Kubernetes
Service:
Severity: HIGH
Categories:
Resource type:
core_minimize_containers_added_capabilitiesProvider: Kubernetes
Service:
coreSeverity: HIGH
Categories:
container-securityResource type:
PodWhat this check verifies
Kubernetes Pods and containers are evaluated for added Linux capabilities viacapabilities.add in their security context; presence of added entries indicates elevated privileges beyond defaults.
Risk
Extra capabilities expand the container’s kernel-level permissions, enabling actions like raw socket use, file ownership changes, and mount operations. Compromise could enable node access, lateral movement, or tampering with workloads, impacting confidentiality, integrity, and availability.Recommendation
Apply least privilege: require containers todrop: ALL and avoid capabilities.add except when strictly justified (e.g., NET_BIND_SERVICE). Enforce with admission policies and separation of duties. Combine with seccomp/AppArmor and non-root execution for defense in depth.
Remediation
- CLI
- Terraform
- Dashboard steps
References
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_containers_added_capabilities. 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