From e683ea538445fd21b908b906f44b6b5bb157670e Mon Sep 17 00:00:00 2001 From: "Mr. Secure" Date: Mon, 21 Oct 2019 09:38:16 -0500 Subject: [PATCH] fix over-quoting bug --- checks/check_extra762 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checks/check_extra762 b/checks/check_extra762 index b622f0d3..410c4ea0 100644 --- a/checks/check_extra762 +++ b/checks/check_extra762 @@ -25,7 +25,7 @@ extra762(){ textInfo "Looking for deprecated runtimes used by Lambda functions across all regions... " textInfo "This check may take a while depending on the number of functions. " for regx in $REGIONS; do - LIST_OF_FUNCTIONS=$($AWSCLI lambda list-functions "$PROFILE_OPT" --region "$regx" --output text --query 'Functions[*].{R:Runtime,N:FunctionName}' | tr "\t" "%") + LIST_OF_FUNCTIONS=$($AWSCLI lambda list-functions $PROFILE_OPT --region $regx --output text --query 'Functions[*].{R:Runtime,N:FunctionName}' | tr "\t" "%") if [[ $LIST_OF_FUNCTIONS ]]; then for lambdafunction in $LIST_OF_FUNCTIONS;do fname=$(echo "$lambdafunction" | cut -d'%' -f1)