diff --git a/docker-bench-security.sh b/docker-bench-security.sh index ce4de2c..c7ef00a 100755 --- a/docker-bench-security.sh +++ b/docker-bench-security.sh @@ -71,6 +71,12 @@ if [ "x$ID" != "x0" ]; then sleep 3 fi +# Total Score +# Warn Scored -1, Pass Scored +1, Not Score -0 + +totalChecks=0 +currentScore=0 + logit "Initializing $(date)\n" beginjson "1.3.4" "$(date +%s)" @@ -94,6 +100,12 @@ main () { . ./"$test" done + printf "\n" + info "Checks: $totalChecks" + info "Score: $currentScore" + integerjson "checks" "$totalChecks" + integerjson "score" "$currentScore" + endjson "$(date +%s)" }