Kubernetes posture check · Kubernetes

Workload runs as a service account with cluster-admin

Reads every workload in the cluster through the Kubernetes API and reports each one where this is true: workload runs as a service account with cluster-admin.

Why it matters

The pod's service account is bound to cluster-admin, so code execution in this pod is control of the whole cluster.

How to fix it

Bind the service account to a role with only the permissions the workload uses.

What TrustIvan reads

Read through the Kubernetes API with the read-only role TrustIvan's install creates.

Benchmark controls

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.

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

See TrustIvan on your own estate.

Book thirty minutes with an engineer and bring an image, a repository or a cloud account, or start free on the hosted service.