Why it matters
The binding names `system:anonymous` or `system:unauthenticated`, so anyone who can reach the API server holds the role without a credential.
How to fix it
Delete the binding, or bind the role to authenticated subjects only.
What TrustIvan reads
Read through the Kubernetes API with the read-only role TrustIvan's install creates.
Benchmark controls
- NSA/CISA Kubernetes Hardening Guidance 1.2, control
authn.anonymous: Anonymous access is not granted
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
- cluster-admin is granted
KubernetesSeverity: High
k8s.rbac.cluster-admin-binding - Role can approve certificate signing requests
KubernetesSeverity: Medium
k8s.rbac.csr-approve - A role is bound to a default service account
KubernetesSeverity: Medium
k8s.rbac.default-service-account-bound - Role can escalate, bind or impersonate
KubernetesSeverity: High
k8s.rbac.escalate-bind-impersonate - Role can use the nodes/proxy subresource
KubernetesSeverity: Medium
k8s.rbac.node-proxy - Role can create pods
KubernetesSeverity: Medium
k8s.rbac.pod-create
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