mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 14:55:00 +00:00
Change value of FAIL to FAILED for jsonAsff output type @wildtangent
Change value of FAIL to FAILED for jsonAsff output type
This commit is contained in:
@@ -222,6 +222,11 @@ generateJsonAsffOutput(){
|
|||||||
# Replace any successive non-conforming characters with a single underscore
|
# Replace any successive non-conforming characters with a single underscore
|
||||||
local message=$1
|
local message=$1
|
||||||
local status=$2
|
local status=$2
|
||||||
|
|
||||||
|
if [[ "$status" == "FAIL" ]]; then
|
||||||
|
status="FAILED"
|
||||||
|
fi
|
||||||
|
|
||||||
local severity=$3
|
local severity=$3
|
||||||
jq -M -c \
|
jq -M -c \
|
||||||
--arg ACCOUNT_NUM "$ACCOUNT_NUM" \
|
--arg ACCOUNT_NUM "$ACCOUNT_NUM" \
|
||||||
|
|||||||
Reference in New Issue
Block a user