Safeguard Docs
Frameworks and Connectors

CIS Kubernetes Benchmark and connectors

Which connectors provide evidence for CIS Kubernetes Benchmark, for which controls, and how to connect them.

Safeguard's automated tests map to 60 recommendations of CIS Kubernetes Benchmark v1.9.0. 41 tests apply: 41 read a connected system, and 0 read Safeguard's own records (policies, people, training and devices), so they need no connector. A passing result is evidence toward a control, not proof that the control is met on its own.

A CIS benchmark is a catalogue mapping: results show on the tests, filters and evidence with their recommendation numbers, and the benchmark is not a framework in your library.

How to connect for this framework

  1. Connect the systems you run from the table below. Each connector links to its setup steps.
  2. Open Compliance › Tests and filter by the benchmark to see its results.
  3. Tests run on their schedule, or straight away with Run now on Compliance › Tests. A passing test counts toward its controls once its preview period has ended.

Automated tests are switched on per workspace by the Safeguard team.

Connectors with automated evidence (1)

ConnectorControls it provides evidence forTests
Kubernetes (also Gatekeeper OPA, Kyverno)1.2.1, 1.2.10, 1.2.12, 1.2.13, 1.2.14, 1.2.15, 1.2.16, 1.2.17, 1.2.18, 1.2.19, 1.2.2, 1.2.21, 1.2.22, 1.2.23, 1.2.24, 1.2.25, 1.2.26, 1.2.27, 1.2.29, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2.8, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.7, 1.4.1, 1.4.2, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 5.1.10, 5.1.11, 5.1.12, 5.1.13, 5.1.2, 5.1.3, 5.1.4, 5.1.5, 5.1.6, 5.1.8, 5.1.9, 5.2.1, 5.2.10, 5.2.11, 5.2.12, 5.2.13, 5.2.6, 5.2.7, 5.2.8, 5.2.9, 5.4.1, 5.7.2, 5.7.441

Recommendations (60)

RecommendationTitleAutomated testsConnectors
1.2.1API server refuses anonymous requests13
1.2.2API server reads no static token file13
1.2.4API server presents a client certificate to kubelets13
1.2.5API server verifies kubelet serving certificates13
1.2.6API server authorization is never AlwaysAllow13
1.2.7API server authorizes kubelets with the Node authorizer13
1.2.8API server authorizes with RBAC13
1.2.10AlwaysAdmit admission plugin is off13
1.2.12ServiceAccount admission plugin is on13
1.2.13NamespaceLifecycle admission plugin is on13
1.2.14NodeRestriction admission plugin is on13
1.2.15API server profiling endpoint is off13
1.2.16API server writes an audit log13
1.2.17API server keeps audit logs for at least 30 days13
1.2.18API server keeps at least 10 rotated audit logs13
1.2.19API server rotates audit logs at 100 MB or more13
1.2.21API server checks service account tokens against etcd13
1.2.22API server has a service account verification key13
1.2.23API server authenticates to etcd with a client certificate13
1.2.24API server serves TLS with its own certificate13
1.2.25API server verifies client certificates against a CA13
1.2.26API server verifies etcd's certificate against a CA13
1.2.27API server encrypts stored resources with a provider config13
1.2.29API server offers only strong TLS cipher suites13
1.3.2Controller manager profiling endpoint is off13
1.3.3Controller manager uses one service account per controller13
1.3.4Controller manager signs service account tokens with a key13
1.3.5Controller manager hands pods the cluster root CA13
1.3.7Controller manager listens on loopback only13
1.4.1Scheduler profiling endpoint is off13
1.4.2Scheduler listens on loopback only13
2.1etcd serves client TLS with a certificate13
2.2etcd requires client certificates13
2.3etcd uses no self-signed automatic client TLS13
2.4etcd peers use TLS certificates13
2.5etcd requires peer certificates13
2.6etcd uses no self-signed automatic peer TLS13
5.1.2Few roles can read Secrets13
5.1.3Roles avoid wildcards13
5.1.4Few roles can create pods13
5.1.5Default service accounts are not used13
5.1.6Service account tokens are mounted only where needed13
5.1.8Bind, impersonate and escalate are rarely granted13
5.1.9Few roles can create persistent volumes13
5.1.10Few roles can reach the nodes proxy13
5.1.11Few roles can approve certificate requests13
5.1.12Few roles can change admission webhooks13
5.1.13Few roles can mint service account tokens13
5.2.1An admission policy mechanism is active23
5.2.6Containers cannot escalate privileges13
5.2.7Containers do not run as root13
5.2.8Containers drop NET_RAW13
5.2.9Containers add no Linux capabilities13
5.2.10Containers drop all Linux capabilities13
5.2.11No Windows HostProcess containers13
5.2.12No hostPath volumes13
5.2.13No host ports13
5.4.1Secrets are mounted as files, not environment variables13
5.7.2Pods use the RuntimeDefault seccomp profile13
5.7.4Workloads stay out of the default namespace13

On this page