mirror of
https://github.com/The-Art-of-Hacking/h4cker
synced 2024-11-22 02:43:02 +00:00
Update run_cis_bench_locally.sh
This commit is contained in:
parent
20ce6f751d
commit
ada01c5d31
1 changed files with 11 additions and 1 deletions
|
@ -14,4 +14,14 @@ echo "${reset}========================="
|
|||
curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P inspec
|
||||
|
||||
echo "${red} Running CIS Docker Benchmark ${reset} locally on $(hostname)"
|
||||
inspec exec https://github.com/dev-sec/cis-docker-benchmark
|
||||
inspec exec https://github.com/dev-sec/cis-docker-benchmark > cis_benchmark_results.txt
|
||||
|
||||
|
||||
|
||||
printf -- '\n';
|
||||
echo "${red}REPORT SUMMARY:"
|
||||
tail -n 2 cis_benchmark_results.txt
|
||||
|
||||
printf -- '\n';
|
||||
echo "${reset}The complete results have been stored at:
|
||||
${green}$(pwd)/cis_benchmark_results.txt "
|
Loading…
Reference in a new issue