talira

kube-bench

Check a Kubernetes cluster against the CIS Kubernetes Benchmark

open sourceApache-2.0self-hostablefree

kube-bench checks whether Kubernetes is deployed securely by running the checks in the CIS Kubernetes Benchmark against a cluster's control plane, etcd, nodes and policies, and reports each as pass, fail or warn with remediation steps. It runs as a binary on a node, in a container, or as a Kubernetes Job inside the cluster (it needs the host's PID namespace and config directories), and its tests are YAML files, so new benchmark versions are easy to add. Besides upstream Kubernetes it covers the CIS benchmarks for GKE, EKS, AKS, ACK, OpenShift, k3s and RKE, and the DISA Kubernetes STIG, and can send results to AWS Security Hub. Made by Aqua Security, whose Trivy also scans for the CIS benchmark.

Problems it solves

  • check my Kubernetes cluster against the CIS benchmark
  • audit an EKS or GKE cluster's security configuration
  • find insecure settings on my Kubernetes control plane and nodes

Features

  • CIS Kubernetes Benchmark checks with remediation
  • GKE, EKS, AKS, ACK, OpenShift, k3s and RKE benchmarks
  • DISA Kubernetes STIG
  • runs as a binary, container or Kubernetes Job
  • YAML-defined tests
  • AWS Security Hub output

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what kube-bench does.

  1. Trivy Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more
  2. Kubescape Open source Kubernetes security from development to runtime
  3. Aqua Platform Secure What Runs in the Cloud

Compare kube-bench with the top 3