Why it matters
A seccomp profile of `Unconfined` lets the process make every system call, including those container escapes rely on.
How to fix it
Set `seccompProfile.type: RuntimeDefault`, or a Localhost profile.
What TrustIvan reads
Read through the Kubernetes API with the read-only role TrustIvan's install creates.
Benchmark controls
- CIS Kubernetes Benchmark 1.9.0, control
5.7.2: A seccomp profile is set in pod definitions. Also checked for this control: Container has no seccomp profile - NSA/CISA Kubernetes Hardening Guidance 1.2, control
pod.hardened-runtime: Container environments are hardened (seccomp, AppArmor, SELinux). Also checked for this control: Container explicitly disables AppArmor, Container sets a custom SELinux user, role or type, Workload sets an unsafe sysctl
Control numbers are the published ones; the titles are TrustIvan's own short descriptions. The benchmarks belong to their publishers, who do not endorse TrustIvan.
Related checks
- Container runs as root
KubernetesSeverity: Medium
k8s.container.runs-as-root - Container has no seccomp profile
KubernetesSeverity: Low
k8s.container.seccomp-unset - Container runs with the root group
KubernetesSeverity: Low
k8s.container.root-group - Container reads a Secret through environment variables
KubernetesSeverity: Low
k8s.container.secret-in-env - Container runs privileged
KubernetesSeverity: Critical
k8s.container.privileged - Container sets a custom SELinux user, role or type
KubernetesSeverity: Medium
k8s.container.selinux-custom
Terms: KSPM (Kubernetes security posture management), Kubernetes RBAC, NSA/CISA Kubernetes Hardening Guidance, CIS Benchmarks
All Kubernetes posture checks · The whole catalogue · How this works in TrustIvan · Documentation