Created
November 3, 2025 01:36
-
-
Save williamzujkowski/2b88c8b46eb919ca4563dfc314977cdd to your computer and use it in GitHub Desktop.
CIS benchmark scanning commands for Docker and Kubernetes security auditing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Docker Bench Security | |
| git clone https://github.com/docker/docker-bench-security.git | |
| cd docker-bench-security | |
| sudo sh docker-bench-security.sh | |
| # Kubernetes kube-bench | |
| kubectl apply -f https://raw.githubusercontent.com/aquasecurity/kube-bench/main/job.yaml | |
| kubectl logs job/kube-bench |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment