Kubebench
Install Kubebench
Step 1: Create a Scan Directory and navigate to the directory
mkdir scan && cd scanStep 2: Download a Kubebench Binary from Internet to the Local System ( Manually type the Command )
docker run --rm -v `pwd`:/host aquasec/kube-bench:latest installKubebench Scan for Master Node
Step 3: Run Kubebench scan on Master Node
sudo ./kube-bench run --targets=masterKubebench Scan for Worker Nodes
Step 4: Run Kubebench scan against Worker Nodes
sudo ./kube-bench run --targets=nodeLast updated
Was this helpful?