From 2cbfd83f539a366936d905ce2aab7e4dba99502a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Sj=C3=B6gren?= Date: Thu, 25 Oct 2018 11:34:14 +0200 Subject: [PATCH 1/2] add nocolor option #321 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Thomas Sjögren --- docker-bench-security.sh | 14 ++++++++------ output_lib.sh | 19 ++++++++++++++----- 2 files changed, 22 insertions(+), 11 deletions(-) diff --git a/docker-bench-security.sh b/docker-bench-security.sh index d50aaa2..08e59b6 100755 --- a/docker-bench-security.sh +++ b/docker-bench-security.sh @@ -9,11 +9,6 @@ version='1.3.4' -# Load dependencies -. ./functions_lib.sh -. ./helper_lib.sh -. ./output_lib.sh - # Setup the paths this_path=$(abspath "$0") ## Path of this file including filename myname=$(basename "${this_path}") ## file name of this script. @@ -40,6 +35,7 @@ usage () { cat < Date: Thu, 25 Oct 2018 11:39:35 +0200 Subject: [PATCH 2/2] update README MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Thomas Sjögren --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 52bad84..8d0d68e 100644 --- a/README.md +++ b/README.md @@ -48,10 +48,12 @@ version 1.13.0 or later. ### Docker Bench for Security options ```sh + -b optional Do not print colors -h optional Print this help message -l FILE optional Log output in FILE -c CHECK optional Comma delimited list of specific check(s) -e CHECK optional Comma delimited list of specific check(s) to exclude + -i INCLUDE optional Comma delimited list of patterns within a container name to check -x EXCLUDE optional Comma delimited list of patterns within a container name to exclude from check ```