diff --git a/checks/check_extra741 b/checks/check_extra741 index 5ec8c077..7545c9aa 100644 --- a/checks/check_extra741 +++ b/checks/check_extra741 @@ -41,11 +41,11 @@ extra741(){ fi FINDINGS=$(secretsDetector file "$EC2_USERDATA_FILE") if [[ $FINDINGS -eq 0 ]]; then - textPass "$regx: No secrets found in $instance" "$regx" + textPass "$regx: No secrets found in $instance User Data" "$regx" # delete file if nothing interesting is there rm -f "$EC2_USERDATA_FILE" else - textFail "$regx: Potential secret found in $instance" "$regx" + textFail "$regx: Potential secret found in $instance User Data" "$regx" # delete file to not leave trace, user must look at the instance User Data rm -f "$EC2_USERDATA_FILE" fi