diff --git a/docker-bench-security.sh b/docker-bench-security.sh index 08eda32..ce4de2c 100755 --- a/docker-bench-security.sh +++ b/docker-bench-security.sh @@ -72,7 +72,7 @@ if [ "x$ID" != "x0" ]; then fi logit "Initializing $(date)\n" -beginjson "$(date +%s)" +beginjson "1.3.4" "$(date +%s)" # Load all the tests from tests/ and run them main () { diff --git a/output_lib.sh b/output_lib.sh index 6460d40..5ead4b7 100644 --- a/output_lib.sh +++ b/output_lib.sh @@ -30,7 +30,7 @@ yell () { } beginjson () { - printf "{\n \"start\": %s," "$1" | tee "$logger.json" 2>/dev/null 1>&2 + printf "{\n \"dockerbenchsecurity\": \"%s\",\n \"start\": %s," "$1" "$2" | tee "$logger.json" 2>/dev/null 1>&2 } endjson (){