This Sonobuoy plugin, bulkhead performs automated CIS Benchmark assessments against your Kubernetes cluster master and worker nodes by using kube-bench and outputs those results in the native kube-bench json format.
NOTE: This plugin was not officially created by either Heptio or Aqua Security. It is also in the very early stages.
- Edit the
Makefileto use your container registry - Run
make && make pushto build and push your image - Modify
examples/benchmark.ymlto change your image location - Run
kubectl create -f examples/benchmark.ymlto install Sonobuoy with this plugin enabled/running. - When the scan(s) are complete, collect the results:
kubectl cp heptio-sonobuoy/sonobuoy:/tmp/sonobuoy ./results --namespace=heptio-sonobuoy - View the results:
cd results && tar -zxvf *.tar.gz && cd plugins/bulkhead - Clean up:
kubectl delete -f examples/benchmark.yml(This removes all scan data, too)
- Work on a Sonobuoy results parser