@cyberstrikeus/cis-k8s-v1120-5-6-2
BEnsure that the seccomp profile is set to docker/default in your pod definitions (Manual)
Install
agr install @cyberstrikeus/cis-k8s-v1120-5-6-2 --target claudeWrites 1 file into .claude/skills/, pinned to git-36e3c452.
- .claude/skills/cis-k8s-v1120-5-6-2/SKILL.md
Document
name: cis-k8s-v1120-5.6.2 description: "Ensure that the seccomp profile is set to docker/default in your pod definitions (Manual)" category: cis-k8s version: "1.12.0" author: cyberstrike-official tags: [cis, kubernetes, policies, general-policies] cis_id: "5.6.2" cis_benchmark: "CIS Kubernetes Benchmark v1.12.0" tech_stack: [kubernetes] cwe_ids: [] chains_with: [] prerequisites: [] severity_boost: {}
5.6.2 Ensure that the seccomp profile is set to docker/default in your pod definitions (Manual)
Profile Applicability
- Level 2 - Master Node
Description
Enable docker/default seccomp profile in your pod definitions.
Rationale
Seccomp (secure computing mode) is used to restrict the set of system calls applications can make, allowing cluster administrators greater control over the security of workloads running in the cluster. Kubernetes disables seccomp profiles by default for historical reasons. You should enable it to ensure that the workloads have restricted actions available within the container.
Impact
If the docker/default seccomp profile is too restrictive for you, you would have to create/manage your own seccomp profiles.
Audit Procedure
Review the pod definitions in your cluster. It should create a line as below:
securityContext:
seccompProfile:
type: RuntimeDefault
Remediation
Use security context to enable the docker/default seccomp profile in your pod definitions. An example is as below:
securityContext:
seccompProfile:
type: RuntimeDefault
Default Value
By default, seccomp profile is set to unconfined which means that no seccomp profiles are enabled.
References
- https://kubernetes.io/docs/tutorials/clusters/seccomp/
- https://docs.docker.com/engine/security/seccomp/
CIS Controls
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|---|---|---|---|
| v8 | 16.7 Use Standard Hardening Configuration Templates for Application Infrastructure | X | X | |
| v7 | 5.2 Maintain Secure Images | X | X |
Trustgrade B
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- warnLicensecopyleft/unknown — index-and-link only
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-36e3c45227612026-07-31