From 62eed1613e4c8cd4ac99052341ab044fb31d45f9 Mon Sep 17 00:00:00 2001 From: Omar Santos Date: Sun, 11 Apr 2021 19:45:56 -0400 Subject: [PATCH] Update cis_docker-benchmark_inspec_debian_ubuntu.sh --- .../cis_docker-benchmark_inspec_debian_ubuntu.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docker-and-k8s-security/docker/cis_docker-benchmark_inspec_debian_ubuntu.sh b/docker-and-k8s-security/docker/cis_docker-benchmark_inspec_debian_ubuntu.sh index 45e2732..18fe505 100644 --- a/docker-and-k8s-security/docker/cis_docker-benchmark_inspec_debian_ubuntu.sh +++ b/docker-and-k8s-security/docker/cis_docker-benchmark_inspec_debian_ubuntu.sh @@ -1,7 +1,17 @@ #!/bin/bash # A simple script to install Chef inspec and the CIS Docker Benchmark InSpec Profile +# Runs on Ubuntu, Debian, Parrot, and Kali Linux # Author: Omar Santos @santosomar +# version 0.1 +red=$(tput setaf 1) +green=$(tput setaf 2) +reset=$(tput sgr0) + +echo "${green}Installing InSpec" +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 \ No newline at end of file