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
Makefile
to use your container registry - Run
make && make push
to build and push your image - Modify
examples/benchmark.yml
to change your image location - Run
kubectl create -f examples/benchmark.yml
to 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