kubesec
A tool that scores a Kubernetes manifest's security settings and lists critical findings such as privileged containers.
In more detail
Each setting adds or removes points: a read-only root file system or dropped capabilities add points, while privileged mode or SYS_ADMIN gives a critical finding. A negative score means at least one critical problem. It reads the manifest only, so it works before anything reaches the cluster.
Example
kubesec scan pod.yamlRelated terms
- KubeLinter — A static checker that reads Kubernetes manifests and Helm charts and reports settings that break security and reliability best practice.
- securityContext — The part of a Kubernetes pod or container spec that sets security options such as user, capabilities, seccomp and read-only root filesystem.
Taught in
- Static Analysis: kubesec And KubeLinter — Certified Kubernetes Security Specialist (CKS) Exam Prep