From 11deceb9e6692988b484d24dcad0b6d9aa0f896d Mon Sep 17 00:00:00 2001 From: Pablo Pagani <79593935+pablopagani@users.noreply.github.com> Date: Thu, 23 Sep 2021 14:05:20 -0300 Subject: [PATCH] Bugfix: duplicated region in textFail message. --- checks/check_extra741 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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