No single Kubernetes security tool covers everything. Use kube-bench or Kubescape for cluster configuration, Trivy for images, Checkov or Kubescape for manifests before deploy, Pod Security Admission for enforcement, and Falco for runtime detection. Pick by the job, then combine two or three.
Safeguard publishes this guide and sells a competing product, so we describe other tools only from their own documentation. Facts are as of 19 October 2026.
Key takeaways
- Kubernetes security splits into four jobs: configuration, images, admission and runtime.
- Most popular tools are open source under Apache 2.0, so you can try them in an afternoon.
- Posture scanners tell you what is wrong. Admission controls stop it. Runtime tools see attacks.
- Enforce the built-in Pod Security Standards before adding more tools.
- Start in audit mode, then enforce, so you do not break deployments.
What are the main Kubernetes security tools?
| Tool | Main job | What it checks | Runs when | License or status in its docs |
|---|---|---|---|---|
| kube-bench | Cluster configuration | CIS Kubernetes Benchmark tests | On demand, as a pod or Job | Not stated in its README |
| Kubescape | Posture and manifests | NSA-CISA, MITRE ATT&CK, CIS frameworks; clusters, YAML, Helm; image CVEs through Grype | On demand or in CI | Apache 2.0, CNCF incubating |
| Trivy | Images and more | Container images, filesystems, Git repos, Kubernetes; vulnerabilities, misconfigurations, secrets, licenses | CI or on demand | Apache 2.0 |
| Checkov | Infrastructure code | Kubernetes, Helm, Kustomize, Dockerfile, Terraform and more | Before deploy | Not stated in its README |
| Pod Security Admission | Enforcement | Pod Security Standards: privileged, baseline, restricted | At admission, built in | Part of Kubernetes |
| Falco | Runtime detection | Syscall events against rules, with Kubernetes metadata | Continuously | Apache 2.0, CNCF graduated |
Which tool checks cluster configuration against CIS?
kube-bench does. It runs the checks in the CIS Kubernetes Benchmark, with tests defined in YAML files that can be updated as the specification changes.
Run it as a pod using the supplied job.yaml, then read the logs:
kubectl apply -f job.yaml
kubectl logs job/kube-bench
Its README notes that inside a pod it needs access to the host process namespace and config directories, and that Benchmark releases do not map one to one to Kubernetes releases.
Managed control planes limit what you can inspect. Check your provider's guidance for the parts it operates.
Which tool scans Kubernetes manifests and clusters for misconfigurations?
Kubescape scans clusters, YAML files and Helm charts against NSA-CISA, MITRE ATT&CK and CIS frameworks. Checkov scans Kubernetes, Helm and Kustomize files among many formats.
kubescape scan framework nsa
kubescape scan /path/to/manifests/
checkov --directory ./k8s
Use them in pull requests so a bad manifest never reaches the cluster.
Which tool scans container images in a Kubernetes workflow?
Trivy scans container images and can also scan a running cluster. Its README lists vulnerabilities, misconfigurations, secrets and licenses as scanner types.
trivy image python:3.4-alpine
trivy k8s --report summary cluster
For more image options, see the container security tools comparison.
How do you enforce pod security?
Use Pod Security Admission with the Pod Security Standards. Kubernetes defines three levels: privileged (unrestricted), baseline (prevents known privilege escalations) and restricted (follows current hardening practice).
The Kubernetes security checklist says the standards should be enforced on all namespaces, and that the restricted policy can run in warn, audit or enforce mode so you can roll out gradually.
kubectl label namespace payments \
pod-security.kubernetes.io/warn=restricted \
pod-security.kubernetes.io/enforce=baseline
Which tool detects attacks at runtime?
Falco. It is a Linux runtime security tool that observes kernel events such as syscalls and evaluates them against rules, adding container runtime and Kubernetes metadata. It is a CNCF graduated project, originally created by Sysdig.
Posture tools cannot see a shell spawned in a running container. Runtime tools can, which is why teams add Falco after the basics are in place.
What does the Kubernetes checklist say to do first?
The official security checklist lists these items for network and access:
- Keep
system:mastersout of normal use after bootstrapping. - Use a CNI plugin that supports NetworkPolicies, and apply a default deny policy in each namespace.
- Do not expose the Kubernetes API, kubelet API or etcd publicly.
- Restrict pod access to the cloud metadata API at 169.254.169.254 if not needed.
- Set memory limits equal to or lower than requests.
These cost nothing and no scanner replaces them.
How do you choose Kubernetes security tools?
- Count clusters and who operates them.
- Fix configuration first: run kube-bench or Kubescape and clear the high findings.
- Add image and manifest scanning to CI.
- Turn on Pod Security Admission in warn mode, then enforce.
- Add runtime detection once you can respond to alerts.
- Re-run on every cluster upgrade.
Frequently asked questions
What is the best free Kubernetes security tool?
There is no single best. For configuration, kube-bench or Kubescape. For images, Trivy. For runtime, Falco. All are open source.
Is kube-bench enough for Kubernetes security?
No. It checks configuration against the CIS Benchmark. It does not scan images or watch running containers.
What are Pod Security Standards?
Three cumulative policy levels in Kubernetes: privileged, baseline and restricted.
Does Kubescape need an agent?
Its README lists scanning from the command line and also runtime monitoring through Inspektor Gadget. Read the docs for the mode you plan to use.
How do I scan my application dependencies too?
Image scanners cover packages inside images. For a quick check of a package.json or requirements.txt, use Safeguard's free in-browser scan at gold.safeguard.sh/scan.
Sources
- Kubernetes security checklist
- Pod Security Standards
- kube-bench README
- Kubescape README
- Trivy README
- Falco README
- Checkov README
Last reviewed: 19 October 2026.