Forked from williamzujkowski/cis-benchmark-scanning.sh
Created
December 3, 2025 12:10
-
-
Save adampielak/ecd431b1407bed954ff12a0778a05cc1 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