Writable Root Filesystem
Description
Detects containers that allow writes to the root filesystem.
What Shoulder detects
How to fix
Enable read-only root filesystem. ```yaml securityContext: readOnlyRootFilesystem: true ``` Learn more: https://shoulder.dev/learn/kubernetes/cwe-732/writable-root-filesystem
Applies to
Languages
Frameworks
kubernetes
References
Scan for this issue
Detect with Shoulder CLI
npx @shoulderdev/cli trust --rule=kubernetes-writable-root-filesystem .