Merge fixes

This commit is contained in:
Nimrod Kor committed 2020-02-02 10:34:10 +02:00
1 parent 2f26dacb90
commit 7022dd2c8c
1 file changed
-1
-1
View File
@@ -18,7 +18,6 @@ check26(){
# "Ensure S3 bucket access logging is enabled on the CloudTrail S3 bucket (Scored)"
CLOUDTRAILS=$($AWSCLI cloudtrail describe-trails $PROFILE_OPT --region "$REGION" --query 'trailList[*].Name' --output text| tr '\011' '\012' | awk -F: '{print $1}')
ACCOUNT_ID=$($AWSCLI sts get-caller-identity --output json $PROFILE_OPT --region $REGION --query "Account" | tr -d '"')
if [[ $CLOUDTRAILS ]]; then
for trail in $CLOUDTRAILS; do