fixed merge conflicts
This commit is contained in:
commit
84a4fafe1e
18
testssl.sh
18
testssl.sh
|
@ -298,14 +298,14 @@ set_severity_level() {
|
|||
show_finding() {
|
||||
local severity=$1
|
||||
|
||||
([[ "$severity" == "DEBUG" ]]) ||
|
||||
([[ "$severity" == "WARN" ]]) ||
|
||||
([[ "$severity" == "INFO" ]] && [[ $SEVERITY_LEVEL -le $INFO ]]) ||
|
||||
([[ "$severity" == "OK" ]] && [[ $SEVERITY_LEVEL -le $OK ]]) ||
|
||||
([[ "$severity" == "LOW" ]] && [[ $SEVERITY_LEVEL -le $LOW ]]) ||
|
||||
([[ "$severity" == "MEDIUM" ]] && [[ $SEVERITY_LEVEL -le $MEDIUM ]]) ||
|
||||
([[ "$severity" == "HIGH" ]] && [[ $SEVERITY_LEVEL -le $HIGH ]]) ||
|
||||
([[ "$severity" == "CRITICAL" ]] && [[ $SEVERITY_LEVEL -le $CRITICAL ]])
|
||||
( [[ "$severity" == "DEBUG" ]] ) ||
|
||||
( [[ "$severity" == "WARN" ]] ) ||
|
||||
( [[ "$severity" == "INFO" ]] && [[ $SEVERITY_LEVEL -le $INFO ]] ) ||
|
||||
( [[ "$severity" == "OK" ]] && [[ $SEVERITY_LEVEL -le $OK ]] ) ||
|
||||
( [[ "$severity" == "LOW" ]] && [[ $SEVERITY_LEVEL -le $LOW ]] ) ||
|
||||
( [[ "$severity" == "MEDIUM" ]] && [[ $SEVERITY_LEVEL -le $MEDIUM ]] ) ||
|
||||
( [[ "$severity" == "HIGH" ]] && [[ $SEVERITY_LEVEL -le $HIGH ]] ) ||
|
||||
( [[ "$severity" == "CRITICAL" ]] && [[ $SEVERITY_LEVEL -le $CRITICAL ]] )
|
||||
}
|
||||
|
||||
|
||||
|
@ -918,7 +918,7 @@ fileout_json_finding() {
|
|||
}
|
||||
|
||||
is_json_format() {
|
||||
([[ -f "$JSONFILE" ]] && ("$do_json" || "$do_pretty_json"))
|
||||
( [[ -f "$JSONFILE" ]] && ("$do_json" || "$do_pretty_json") )
|
||||
}
|
||||
|
||||
################# JSON FILE FORMATING END ####################
|
||||
|
|
Loading…
Reference in New Issue