diff --git a/include/outputs b/include/outputs index f4baf470..d4ddba7b 100644 --- a/include/outputs +++ b/include/outputs @@ -355,4 +355,4 @@ generateHtmlOutput(){ echo ''$message'' >> ${OUTPUT_FILE_NAME}.$EXTENSION_HTML echo ''>> ${OUTPUT_FILE_NAME}.$EXTENSION_HTML fi -} \ No newline at end of file +} diff --git a/include/securityhub_integration b/include/securityhub_integration index c4f15183..9c36264b 100644 --- a/include/securityhub_integration +++ b/include/securityhub_integration @@ -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 -} \ No newline at end of file +} diff --git a/prowler b/prowler index a1b18452..ec812142 100755 --- a/prowler +++ b/prowler @@ -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