Running kube-bench takes a few minutes. Reading the result is the actual work. A full run prints more than two dozen [WARN] lines by construction, plus every [FAIL], with no ranking, and the two obvious reactions are both wrong: treating every line as a finding to fix, or deciding the tool is too noisy to use. A benchmark score is not a compliance result either. It is a configuration baseline.
Who this is for: platform and security engineers who have been asked for "a CIS scan", and anyone who has one and does not know what to do with it.
What you walk away with: a way to run kube-bench per node role with the right benchmark, the reason managed clusters need a different one, a triage method, the checks sorted by value, and a format for exceptions and evidence.
Everything below comes from the kube-bench repository at tag v0.16.0 and its check definitions. The worker-node and GKE parts were run on one cluster, GKE 1.36.4, on 17 November 2026; the control plane targets, kubeadm, EKS and AKS were not run.
Versions: check them before you run anything
| What | State, November 2026 | Source |
|---|---|---|
| CIS Kubernetes Benchmark | 2.1.0 | cisecurity.org benchmark list |
| kube-bench | v0.16.0, released 5 August 2026 | GitHub releases |
| Newest generic benchmark in v0.16.0 | cis-1.12, mapped to Kubernetes 1.32 to 1.34 |
cfg/config.yaml at the tag |
On main, not in a release yet |
cis-2.0, mapped to 1.34 and 1.35, merged 18 August 2026 |
cfg/config.yaml on main |
A scan with v0.16.0 is a scan against CIS 1.12, not 2.1.0. cis-2.0 does not exist in that image, but on main it has the same check IDs and titles as cis-1.12; only two remediation texts differ.
kube-bench picks a benchmark from the Kubernetes version it detects, and the mapping in v0.16.0 ends at 1.34. On a newer cluster it steps the minor version down until it finds an entry, and runs cis-1.12 without a warning; the choice shows only in the JSON version field and the debug log. Pass the benchmark explicitly:
kube-bench run --benchmark cis-1.12 --targets node
CIS's November 2026 update post lists "Support for Kubernetes versions 1.36 and 1.37" for Benchmark 2.1.0. The benchmark itself requires registration and was not read.
The trade-off: you are scanning a v1.37 cluster with checks written for 1.32 to 1.34. Most concern flags and file permissions that have been stable for years, but a flag can have been removed or its default changed. Treat an unexpected FAIL as a question about the check before treating it as a finding.
What kube-bench checks
cis-1.12 is split into five targets.
| Target | Section | Checks | What it reads |
|---|---|---|---|
master |
1 | 60 | Control plane manifests, file permissions, API server, controller manager and scheduler flags |
etcd |
2 | 7 | etcd TLS flags |
controlplane |
3 | 5 | Authentication methods and audit policy |
node |
4 | 25 | Kubelet configuration and files |
policies |
5 | 34 | RBAC, pod security, network policies, Secrets handling |
Sections 1, 2 and 4 read files and process arguments, so kube-bench has to run on the node. In section 5, all 34 policy checks are unscored. 23 have no test and print as reminders for a person. The other 11 run kubectl queries from inside the pod and end as a warning when they cannot run.
Running it per node role
A Job runs on one node, so you run one per node role, pinned to a node of that role. The repository ships job-node.yaml and job-master.yaml for this.
The manifest below is upstream's job-node.yaml at tag v0.16.0, written compactly, with the same hostPID and twelve read-only hostPath mounts. Changed: the image tag is pinned (upstream says latest), the command gains --benchmark cis-1.12 --json, and namespace, backoffLimit and nodeSelector are added.
apiVersion: batch/v1
kind: Job
metadata:
name: kube-bench-node
namespace: kube-bench
spec:
backoffLimit: 0
template:
spec:
hostPID: true
restartPolicy: Never
nodeSelector:
kubernetes.io/hostname: worker-1
containers:
- name: kube-bench
image: docker.io/aquasec/kube-bench:v0.16.0
command: ["kube-bench", "run", "--targets", "node", "--benchmark", "cis-1.12", "--json"]
volumeMounts:
- {name: var-lib-cni, mountPath: /var/lib/cni, readOnly: true}
- {name: var-lib-etcd, mountPath: /var/lib/etcd, readOnly: true}
- {name: var-lib-kubelet, mountPath: /var/lib/kubelet, readOnly: true}
- {name: var-lib-kube-scheduler, mountPath: /var/lib/kube-scheduler, readOnly: true}
- {name: var-lib-kube-controller-manager, mountPath: /var/lib/kube-controller-manager, readOnly: true}
- {name: etc-systemd, mountPath: /etc/systemd, readOnly: true}
- {name: lib-systemd, mountPath: /lib/systemd/, readOnly: true}
- {name: srv-kubernetes, mountPath: /srv/kubernetes/, readOnly: true}
- {name: etc-kubernetes, mountPath: /etc/kubernetes, readOnly: true}
- {name: usr-bin, mountPath: /usr/local/mount-from-host/bin, readOnly: true}
- {name: etc-cni-netd, mountPath: /etc/cni/net.d/, readOnly: true}
- {name: opt-cni-bin, mountPath: /opt/cni/bin/, readOnly: true}
volumes:
- {name: var-lib-cni, hostPath: {path: /var/lib/cni}}
- {name: var-lib-etcd, hostPath: {path: /var/lib/etcd}}
- {name: var-lib-kubelet, hostPath: {path: /var/lib/kubelet}}
- {name: var-lib-kube-scheduler, hostPath: {path: /var/lib/kube-scheduler}}
- {name: var-lib-kube-controller-manager, hostPath: {path: /var/lib/kube-controller-manager}}
- {name: etc-systemd, hostPath: {path: /etc/systemd}}
- {name: lib-systemd, hostPath: {path: /lib/systemd}}
- {name: srv-kubernetes, hostPath: {path: /srv/kubernetes}}
- {name: etc-kubernetes, hostPath: {path: /etc/kubernetes}}
- {name: usr-bin, hostPath: {path: /usr/bin}}
- {name: etc-cni-netd, hostPath: {path: /etc/cni/net.d/}}
- {name: opt-cni-bin, hostPath: {path: /opt/cni/bin/}}
For the control plane, start from job-master.yaml: it adds a node affinity on the control plane label, tolerations for its taints, and mounts of /etc/passwd and /etc/group. Upstream runs --targets master only; master,etcd,controlplane,policies are all valid for cis-1.12.
kubectl create namespace kube-bench
kubectl label namespace kube-bench pod-security.kubernetes.io/enforce=privileged
kubectl apply -f kube-bench-node.yaml
kubectl -n kube-bench wait --for=condition=complete job/kube-bench-node --timeout=120s
kubectl -n kube-bench logs job/kube-bench-node > worker-1.cis-1.12.json
The Job is privileged in effect. hostPID and the mounts give the pod every process's arguments, the PKI directory and, on a control plane node, the etcd data directory, read-only. Pod Security at baseline or restricted rejects its pod, hence the label. Delete the Job afterwards, and mention the namespace in the report.
One node per role is a sample. If a pool comes from one image and one configuration source, one node represents it. If nodes were configured by hand or at different times, you need a Job per node.
Paths differ per distribution. The generic checks default to kubeadm's file layout. Elsewhere, a check that cannot find its file, or finds the wrong one, reports a failure that says nothing about your security. kube-bench ships distribution-specific benchmarks (k3s-cis-*, rke2-cis-*, rh-*), but they track older CIS versions.
Managed clusters need a different benchmark
On EKS, GKE and AKS you have no access to the control plane nodes, and kube-bench can inspect only the worker nodes. Sections 1 and 2 are the provider's responsibility.
CIS publishes separate benchmarks for these platforms. In kube-bench's definitions, section 1 is empty, the control plane section shrinks to audit logging (EKS, AKS) or nothing (GKE), and a managedservices target is added: image registry, IAM, key management, cluster networking. For EKS and AKS all of those are manual.
| Platform | CIS benchmark, 16 November 2026 | Newest in kube-bench v0.16.0 |
|---|---|---|
| Amazon EKS | 2.1.0 | eks-1.8.0 |
| Google GKE | 2.0.0 | gke-1.9.0 |
| Azure AKS | 2.1.0 | aks-1.8 |
kube-bench run --benchmark eks-1.8.0 --targets node,policies,managedservices,controlplane
Those targets come from upstream's job-eks.yaml; job-gke.yaml uses node,policies,managedservices and job-aks.yaml only node. All three name older benchmarks and the tag latest: set both yourself. Auto-detection is no substitute: in v0.16.0 an EKS cluster newer than 1.34 falls back to eks-1.5.0, though GKE 1.36 got gke-1.9.0.
The Job above does not start on GKE's Container-Optimized OS: /srv/kubernetes cannot be created on the read-only root filesystem. The four mounts in job-gke.yaml work.
CIS does not say publicly whether its 2.x platform benchmarks renumbered checks, so name the benchmark version beside every check ID.
The report should state which sections were not assessed because the provider operates them, and what stands in for them, usually the provider's attestations.
Reading the result
| State | Meaning | What to do |
|---|---|---|
PASS |
A test ran and the expected value was found | Nothing |
FAIL |
A scored test ran and failed, or could not be run | Triage |
WARN |
The check is manual, or an unscored test failed or could not be run | A person assesses it and records the outcome |
INFO |
The check was skipped with --skip or type: skip. Section headings also print as INFO |
Make sure each skip is a recorded exception |
The mistake to avoid is equating WARN with "minor". Cluster-admin use (5.1.1), NetworkPolicies in all namespaces (5.3.2) and the content of the audit policy (3.2.2) are all manual and unscored, so a warning is the worst they can show. They are among the most consequential items in the benchmark. Meanwhile a FAIL can be a file with mode 644 where 600 is expected.
Read a PASS too: under the Job's default service account, nine scored gke-1.9.0 policy checks passed on a Forbidden error, visible in actual_value.
A triage method for any scan:
- Is the check valid here? Wrong path, a flag that no longer exists, a provider-managed component: not applicable, with the reason.
- Is the risk covered another way? Then it is an exception candidate.
- What does the fix break? Some remediations change behaviour for clients.
- Decide: fix, accept with a recorded exception, or not applicable. Every non-PASS line ends in one of the three.
Which checks carry the most weight
Both tables are editorial judgement: my reading of the check definitions, not a ranking published by CIS and not the result of observed scans. Your risk analysis may order things differently.
Assess these first
| IDs | Check | Why it matters |
|---|---|---|
| 1.2.6–1.2.8 | API server --authorization-mode is not AlwaysAllow and includes Node and RBAC |
With AlwaysAllow, every request is permitted |
| 4.2.1, 4.2.2 | Kubelet --anonymous-auth=false and authorization not AlwaysAllow |
An open kubelet API allows command execution in any pod on the node |
| 4.2.4 | Kubelet --read-only-port is 0, if set (manual) |
The read-only port serves pod and node information without authentication |
| 2.1–2.6 | etcd client and peer TLS with certificate authentication, no auto-TLS | etcd holds every Secret; see the etcd article |
| 1.2.27 | --encryption-provider-config is set (manual) |
Without it, Secrets are stored in etcd and its backups unencrypted |
| 1.2.16–1.2.19, 3.2.1, 3.2.2 | Audit logging is enabled, a policy file is set and it covers key concerns | No audit log means no answer to "who did this" |
| 1.1.13, 1.1.21 | Permissions on admin.conf, super-admin.conf and PKI key files |
These files are cluster-admin credentials and the cluster's signing keys |
| 5.1.1, 5.1.3 | cluster-admin use and wildcards in roles | Manual; the method is in the RBAC audit article |
| 5.2.2 | Admission of privileged containers is minimised | A privileged container is root on the node |
| 5.3.1, 5.3.2 | The CNI supports NetworkPolicies and namespaces have them | Manual; see the minimal network policy setup |
1.2.16 to 1.2.19 test the log path, age, backup and size flags, and 3.2.1 that --audit-policy-file is set. None reads the policy: a cluster can pass all five with a policy that logs Secret values at RequestResponse. The content is assessed only in 3.2.2, by a person: confirm that Secrets are logged at Metadata only and that this rule comes before any broader rule.
Candidates for a documented exception
Here a failure can be a defensible, recorded decision. That is different from ignoring it.
| IDs | Check | When an exception is defensible | What to record |
|---|---|---|---|
| 1.2.1 | API server --anonymous-auth=false (manual) |
Health endpoints are probed without credentials by a load balancer; the flag defaults to true | Which endpoints anonymous users can reach, and the RBAC bound to system:unauthenticated |
| 1.2.17–1.2.19 | Audit log max age at least 30, backups 10, size 100 | Logs are shipped off the node and retained elsewhere; local values are a buffer | The retention setting of the real log store |
| 1.2.30 | --service-account-extend-token-expiration=false |
Workloads with older client libraries that do not reload tokens would fail | Which workloads, and the plan to update them |
| 4.1.x, 1.1.x | File permission and ownership checks | The distribution places the file elsewhere, and the check tests the wrong path | The actual path and its permissions |
| 4.2.14 | Kubelet --seccomp-default (manual) |
Workloads not yet tested under the runtime's default seccomp profile | Test plan; which namespaces already set a profile |
| 5.1.5, 5.1.6 | Default service accounts unused; tokens mounted only where needed | Large estates where this is being rolled out per namespace | Coverage so far |
| 5.3.2 | NetworkPolicies in all namespaces | System namespaces where a default-deny would break the CNI or DNS without careful rules | The exempt namespaces and why |
An exception with no owner and no review date is a finding that has been renamed.
Keeping the output as evidence
A scan is evidence when someone else can tell what was scanned, with what, when, and what was decided about each result.
Keep the raw JSON, unedited. Name the file after the cluster, node, benchmark and date.
jq -r '.Controls[].tests[].results[]
| select(.status != "PASS")
| [.test_number, .status, .test_desc] | @tsv' worker-1.cis-1.12.json
The file also carries each check's actual_value: raw process command lines and configuration contents. Read it before it leaves the team; a credential passed as a command-line flag would be in there.
Record exceptions next to the scan, not inside it. A skipped check prints as INFO instead of a failure. That makes the output cleaner and the evidence weaker: the raw result no longer shows the real state. A separate register in Git keeps both:
# cis-exceptions.yaml
- id: "1.2.19"
benchmark: cis-1.12
decision: accepted # or: not-applicable
reason: Audit logs are shipped to the central store with 400 days retention; the local file is a buffer.
owner: platform-team
decided: 2026-11-10
review: 2027-05-10
Record the manual assessments too. For each WARN: who assessed it, when, and what was found.
Schedule it, and compare. Comparing the non-PASS list with the previous run shows drift. As a CronJob, the privileged namespace becomes permanent; decide on that deliberately.
State the limits. kube-bench checks configuration against a document. It does not test whether a control works, and says nothing about the operating system, which has its own CIS benchmark. "CIS compliant" without the benchmark version, the scope and the exceptions claims more than the scan supports.
For where this scan fits in a framework assessment, see the Belgian conformity assessment article and the Cyberbeveiligingswet article.
Checklist
- Versions: note the kube-bench release and benchmark; pass
--benchmarkexplicitly. - Benchmark: generic, platform-specific or distribution-specific.
- Coverage: one Job per node role at minimum; state whether nodes are uniform.
- Triage: every FAIL and WARN ends as fixed, accepted or not applicable.
- Manual checks: assessed by a named person, with a date.
- Evidence: raw JSON unedited; exceptions with owner and review date.
- Repeat: scheduled, differences reviewed.