diff --git a/checks/check_extra741 b/checks/check_extra741 index ebf12543..3dedb4e7 100644 --- a/checks/check_extra741 +++ b/checks/check_extra741 @@ -50,7 +50,7 @@ extra741(){ # delete file if nothing interesting is there rm -f "$EC2_USERDATA_FILE" else - textFail "$regx: Potential secret found in $instance User Data" "$regx" "$regx" "$instance" + textFail "$regx: Potential secret found in $instance User Data" "$regx" "$instance" # delete file to not leave trace, user must look at the instance User Data rm -f "$EC2_USERDATA_FILE" fi