mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-09-10 14:02:53 +02:00
Merge branch '2.9dev' of github.com:drwetter/testssl.sh into 2.9dev
This commit is contained in:
@ -957,7 +957,7 @@ fileout() { # ID, SEVERITY, FINDING, CVE, CWE, HINT
|
||||
local cwe="$5"
|
||||
local hint="$6"
|
||||
|
||||
if show_finding "$severity"; then
|
||||
if ( "$do_pretty_json" && [[ "$1" == "service" ]] ) || show_finding "$severity"; then
|
||||
local finding=$(strip_lf "$(newline_to_spaces "$(strip_quote "$3")")")
|
||||
|
||||
is_json_format && (fileout_json_finding "$1" "$severity" "$finding" "$cve" "$cwe" "$hint")
|
||||
|
Reference in New Issue
Block a user