Lion Cipher Lab

Harden a Kubernetes cluster against the CIS Benchmark with kube-bench

Why it matters

Kubernetes ships with a lot of knobs, and its defaults are tuned for getting started, not for being locked down. The CIS Kubernetes Benchmark is a community-agreed checklist of those knobs — how the API server, kubelet, etcd, and cluster policies should be configured to reduce risk — turned into concrete, testable controls. kube-bench is a free, open-source tool from Aqua Security that runs those checks against a real cluster and tells you, control by control, whether you PASS, need to look (WARN), or FAIL. Learning to read that report is a core cloud-security skill: it turns 'is my cluster…

What you'll learn

Steps in this lab

  1. What the CIS Kubernetes Benchmark is
  2. What kube-bench is
  3. Spin up your own throwaway cluster with kind
  4. Confirm the cluster is up
  5. Run kube-bench against the cluster
  6. Read the PASS / WARN / FAIL findings
  7. Remediate one control and re-run
  8. The reality: not every control is yours to fix

Open the full interactive lab →