Privileged Container Detected
Description
Detects containers running with privileged security context.
What Shoulder detects
How to fix
Set privileged to false in the security context. ```yaml securityContext: privileged: false ``` Learn more: https://shoulder.dev/learn/kubernetes/cwe-250/privileged-container
Applies to
Languages
Frameworks
kubernetes
References
Scan for this issue
Detect with Shoulder CLI
npx @shoulderdev/cli trust --rule=kubernetes-privileged-container .