From e3893c7d5b259c85c6731adffa3d611683b79827 Mon Sep 17 00:00:00 2001 From: Josh Moss <45637452+Outrun207@users.noreply.github.com> Date: Tue, 25 May 2021 13:49:27 -0400 Subject: [PATCH] Update check_extra7142 --- checks/check_extra7142 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/checks/check_extra7142 b/checks/check_extra7142 index 4e42eb26..9822fce2 100644 --- a/checks/check_extra7142 +++ b/checks/check_extra7142 @@ -27,13 +27,13 @@ extra7142(){ for alb in $LIST_OF_ELBSV2;do CHECK_IF_DROP_INVALID_HEADER_FIELDS=$($AWSCLI elbv2 describe-load-balancer-attributes $PROFILE_OPT --region $regx --load-balancer-arn $alb --query 'Attributes[6]' --output text|grep -i true) if [[ $CHECK_IF_DROP_INVALID_HEADER_FIELDS ]];then - textPass "Application Load Balancer $alb is dropping invalid header fields" + textPass "$regx: Application Load Balancer $alb is dropping invalid header fields." "$regx" "$alb" else - textFail "Application Load Balancer $alb is not dropping invalid header fields" + textFail "$regx: Application Load Balancer $alb is not dropping invalid header fields" "$regx" "$alb" fi done else - textInfo "no ALBs found" + textInfo "$regx: no ALBs found" fi done -} \ No newline at end of file +}