revert: master

This commit is contained in:
Joaquin Rinaudo
2020-09-01 16:26:16 +02:00
parent 43f3365bb4
commit 9baa6d6ae9
3 changed files with 2 additions and 6 deletions

View File

@@ -355,4 +355,4 @@ generateHtmlOutput(){
echo '<td>'$message'</td>' >> ${OUTPUT_FILE_NAME}.$EXTENSION_HTML
echo '</tr>'>> ${OUTPUT_FILE_NAME}.$EXTENSION_HTML
fi
}
}

View File

@@ -39,4 +39,4 @@ sendToSecurityHub(){
if [[ -z "${BATCH_IMPORT_RESULT}" ]] || ! jq -e '.SuccessCount == 1' <<< "${BATCH_IMPORT_RESULT}" > /dev/null 2>&1; then
echo -e "\n$RED ERROR!$NORMAL Failed to send check output to AWS Security Hub\n"
fi
}
}

View File

@@ -559,10 +559,6 @@ if [[ "${MODES[@]}" =~ "html" ]]; then
addHtmlFooter >> ${OUTPUT_FILE_NAME}.$EXTENSION_HTML
fi
if [[ "$SEND_TO_SECURITY_HUB" -eq 1 ]]; then
resolveSecurityHubPreviousFails
fi
scoring
cleanTemp