mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-09 21:14:22 +00:00
add region info to textFail,textPass output
This commit is contained in:
1 parent
23a7c7f393
commit
827b1fdb3b
1 file changed
+2
-2
@@ -32,9 +32,9 @@ extra762(){
|
||||
runtime=$(echo "$lambdafunction" | cut -d'%' -f2)
|
||||
if echo "$lambdafunction" | grep -Eq $OBSOLETE ; then
|
||||
# obselete runtime found
|
||||
textFail "Obsolete ${runtime} runtime found in Lambda funtion ${fname}" "$regx"
|
||||
textFail "$regx: Obsolete ${runtime} runtime found in Lambda funtion ${fname}" "$regx"
|
||||
else
|
||||
textPass "Supported ${runtime} runtime found in Lambda function ${fname}" "$regx"
|
||||
textPass "$regx: Supported ${runtime} runtime found in Lambda function ${fname}" "$regx"
|
||||
fi
|
||||
done
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user