Why it matters
With no seccomp profile set, the container runs unconfined unless the node's kubelet enables a default, which it does not out of the box.
How to fix it
Set `seccompProfile.type: RuntimeDefault` on the pod.
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 explicitly disables seccomp
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 explicitly disables seccomp
KubernetesSeverity: Medium
k8s.container.seccomp-unconfined - Container reads a Secret through environment variables
KubernetesSeverity: Low
k8s.container.secret-in-env - Container runs as root
KubernetesSeverity: Medium
k8s.container.runs-as-root - Container sets a custom SELinux user, role or type
KubernetesSeverity: Medium
k8s.container.selinux-custom - Container runs with the root group
KubernetesSeverity: Low
k8s.container.root-group - Container mounts /proc unmasked
KubernetesSeverity: High
k8s.container.unmasked-proc
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