diff --git a/README.md b/README.md index 56bfe5a..1505105 100644 --- a/README.md +++ b/README.md @@ -51,4 +51,10 @@ cd docker-bench-security sh docker-bench-security.sh ``` +Coloured output may be switched off to ease parsing: + +```sh +sh docker-bench-security.sh -n |& grep '^\[WARN\]' +``` + This script was build to be POSIX 2004 compliant, so it should be portable across any Unix platform. diff --git a/docker-bench-security.sh b/docker-bench-security.sh index 0659d07..ae67d67 100755 --- a/docker-bench-security.sh +++ b/docker-bench-security.sh @@ -37,6 +37,7 @@ usage () { cat <