From c53157e184135eb037df28005e04747f8748d907 Mon Sep 17 00:00:00 2001 From: jammasterj89 Date: Tue, 30 Jul 2019 11:25:14 +0100 Subject: [PATCH] Remove -t parameter $images now set via -i and -x parameters Signed-off-by: Niall T --- docker-bench-security.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docker-bench-security.sh b/docker-bench-security.sh index b4ccbf3..219859b 100755 --- a/docker-bench-security.sh +++ b/docker-bench-security.sh @@ -44,9 +44,8 @@ usage () { -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 - -t TARGET optional Comma delimited list of images name to check + -i INCLUDE optional Comma delimited list of patterns within a container or image name to check + -x EXCLUDE optional Comma delimited list of patterns within a container or image name to exclude from check EOF } @@ -63,7 +62,6 @@ do e) checkexclude="$OPTARG" ;; i) include="$OPTARG" ;; x) exclude="$OPTARG" ;; - t) imgList="$OPTARG" ;; *) usage; exit 1 ;; esac done