mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-11-02 01:15:31 +00:00
changed outputs to the new ones
This commit is contained in:
1 parent
1acc6e45d0
commit
07b166baa9
81 files changed
+267
-267
No files matched your search
+3
-3
@@ -10,12 +10,12 @@ check26(){
|
||||
for bucket in $CLOUDTRAILBUCKET;do
|
||||
CLOUDTRAILBUCKET_LOGENABLED=$($AWSCLI s3api get-bucket-logging --bucket $bucket $PROFILE_OPT --region $REGION --query 'LoggingEnabled.TargetBucket' --output text|grep -v None)
|
||||
if [[ $CLOUDTRAILBUCKET_LOGENABLED ]];then
|
||||
textOK "Bucket access logging enabled in $bucket"
|
||||
textPass "Bucket access logging enabled in $bucket"
|
||||
else
|
||||
textWarn "access logging is not enabled in $bucket CloudTrail S3 bucket!"
|
||||
textFail "access logging is not enabled in $bucket CloudTrail S3 bucket!"
|
||||
fi
|
||||
done
|
||||
else
|
||||
textWarn "CloudTrail bucket not found!"
|
||||
textFail "CloudTrail bucket not found!"
|
||||
fi
|
||||
}
|
||||
Reference in new issue
Block a user