runAsNonRoot required
Description
Restricted level requires runAsNonRoot: true on all containers.
β οΈ Risk Impact
Root containers retain root privileges within container; combined with container-escape CVE = host root.
π How EchelonGraph Detects This
EchelonGraph's Tier 1 Cloud Scanner automatically checks for this condition across all connected cloud accounts. Violations are flagged as high-severity findings with remediation guidance.
π§ Remediation
Set securityContext.runAsNonRoot:true + runAsUser:non-zero. Use distroless or rootless images.
π Real-World Attack Scenario
A container ran as root. Compromised via Log4Shell + escaped to host via runc CVE = host root.
π° Cost of Non-Compliance
Root-container escape: $4M+ avg.
π Audit Questions
- 1.runAsNonRoot:true universal?
- 2.Image rebuild plan for legacy?
π― MITRE ATT&CK Mapping
β‘ Common Pitfalls
- βLegacy images default to root
- βrunAsNonRoot:true but no UID specified
π Business Value
Non-root containers limit container-compromise impact.
β±οΈ Effort Estimate
Per-image rebuild
EchelonGraph identifies root containers
π Cross-Framework References
Automate Pod Security Standards PSS-RunAsNonRoot compliance
EchelonGraph continuously monitors this control across all your cloud accounts.
Start Free β