mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 14:55:00 +00:00
changed outputs to the new ones
This commit is contained in:
@@ -10,12 +10,12 @@ check21(){
|
||||
for trail in $LIST_OF_TRAILS;do
|
||||
MULTIREGION_TRAIL_STATUS=$($AWSCLI cloudtrail describe-trails $PROFILE_OPT --region $REGION --query 'trailList[*].IsMultiRegionTrail' --output text --trail-name-list $trail)
|
||||
if [[ "$MULTIREGION_TRAIL_STATUS" == 'False' ]];then
|
||||
textWarn "$trail trail in $REGION is not enabled in multi region mode"
|
||||
textFail "$trail trail in $REGION is not enabled in multi region mode"
|
||||
else
|
||||
textOK "$trail trail in $REGION is enabled for all regions"
|
||||
textPass "$trail trail in $REGION is enabled for all regions"
|
||||
fi
|
||||
done
|
||||
else
|
||||
textWarn "No CloudTrail trails found!"
|
||||
textFail "No CloudTrail trails found!"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user