What each outcome means
A benchmark control fails when any mapped check failed, passes only when
every mapped check passed or had nothing to judge, and is otherwise not
assessed. This is a configuration result, not an attestation that the
benchmark is met; the benchmark is the Center for Internet Security’s, which does
not endorse this product.
What is never assessed
The collector reads the API server and nothing else. These controls are always reported not assessed, with the reason, on every cluster:- CIS sections 1 to 4: control-plane component flags and files, etcd, the control-plane configuration, and every worker-node and kubelet control. They need read access to the hosts. On EKS, GKE and AKS the provider operates the control plane; see the provider’s own CIS benchmark.
- CIS 5.1.7 (system:masters): membership is carried in client certificates, which the API does not list.
- CIS 5.3.1 (the CNI supports NetworkPolicy) and 5.4.2 (external secret storage): not visible through the API.
- NSA/CISA: control-plane hardening, encryption in transit and of Secrets at rest, authentication configuration, audit logging, worker-node segmentation, cloud metadata protection, and runtime threat detection (which TRUSTIVAN judges from Falco events, not from configuration).
How the checks judge
Exposure checks fire only on an explicit unsafe value (privileged: true,
runAsUser: 0) or an unambiguous fact (hostNetwork). A field left unset is not
faulted by them, because it inherits a pod, namespace or cluster default.
Hardening checks are low severity and fire when a safeguard is not
explicitly in place where the Kubernetes default is the unsafe value: a writable
root filesystem, the default capability set, no seccomp profile, no resource
limits. They skip kube-system, kube-public and kube-node-lease, whose
components legitimately run without them.
Resource limits and requests honour the namespace’s LimitRange defaults. A
pod’s own automountServiceAccountToken overrides its service account’s. The
API server’s own bootstrap roles and bindings (cluster-admin for
system:masters, the system: controllers) are not findings; who is bound to a
broad role is.
Trusted registries
k8s.container.untrusted-registry needs a list of the registries a cluster’s
images may come from: hosts such as ghcr.io or prefixes such as
ghcr.io/acme. Set it on the cluster’s page (Trusted registries) or with
PUT /api/v1/kubernetes/clusters/{id}/registries. Until it is set the check is
not assessed. Admission control reads the same list.
The checks
Permissions the collector needs
Read (get, list) on namespaces, pods, service accounts, resource quotas,
limit ranges, Deployments, StatefulSets, DaemonSets, Jobs, CronJobs,
NetworkPolicies, Services, Ingresses, Roles, ClusterRoles, RoleBindings and
ClusterRoleBindings, and /version. The Connect cluster dialog shows the
exact ClusterRole. The collector never reads Secret values. A credential missing
one of these leaves the checks that need it not assessed and marks the
collection partial, with one exception: Services and Ingresses are read only to
judge exposure and to find the Ingress hosts the
certificate inventory checks, so a role without
them still collects in full and shows exposure as unknown. A cluster connected
before November 2026 needs the two added to its ClusterRole for either to work.
What has been validated
The catalogue is tested on every commit: each check has a failing and a passing fixture (backend/internal/kubernetes/corpus_test.go), and the rollup is tested
to leave node and control-plane controls not assessed whatever the checks say.
It has been run against one real cluster type only: a local k3d cluster
(k3s v1.30.6) created by scripts/dev/k3d-validate.sh, with the collector
reading through the least-privilege ClusterRole above. That run asserts the
planted misconfigurations are found (31 of them, across containers, workloads,
RBAC, service accounts and namespaces), that a namespace built to pass raises no
failure at all, and that no check is left not assessed. It has not been run
against EKS, GKE, AKS, OpenShift or any other distribution.
API: GET /api/v1/kubernetes/clusters/{id}/posture, GET /api/v1/kubernetes/benchmarks
and PUT /api/v1/kubernetes/clusters/{id}/registries (see the API reference).