mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 14:55:00 +00:00
add region info to textFail,textPass output
This commit is contained in:
@@ -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