Kubebench

Install Kubebench

Step 1: Create a Scan Directory and navigate to the directory

mkdir scan && cd scan

Step 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 install

Kubebench Scan for Master Node

Step 3: Run Kubebench scan on Master Node

sudo ./kube-bench run --targets=master

Kubebench Scan for Worker Nodes

Step 4: Run Kubebench scan against Worker Nodes

sudo ./kube-bench run --targets=node

Last updated

Was this helpful?