From db64ea6d6109aec26cf8ccd078ea9453aebbcac1 Mon Sep 17 00:00:00 2001 From: Dirk Date: Sun, 6 Nov 2016 22:43:42 +0100 Subject: [PATCH] add more test info to #503 --- testssl.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/testssl.sh b/testssl.sh index 05ddf13..dcd0844 100755 --- a/testssl.sh +++ b/testssl.sh @@ -505,10 +505,13 @@ strip_quote() { fileout_pretty_json_header() { START_TIME=$(date +%s) - echo -e " \"host\" : \"$NODE\", + echo -e " \"Invocation\" : \"$PROG_NAME $CMDLINE\", + \"at\" : \"$HNAME:$OPENSSL_LOCATION\", + \"version\" : \"$VERSION ${GIT_REL_SHORT:-$CVS_REL_SHORT} from $REL_DATE\" + \"openssl\" : \"$OSSL_VER\" from \"$OSSL_BUILD_DATE\" + \"target host\" : \"$NODE\", \"port\" : \"$PORT\", \"startTime\" : \"$START_TIME\", - \"version\" : \"$VERSION\", \"scanResult\" : { " }