github.com/aquasecurity/trivy-iac@v0.8.1-0.20240127024015-3d8e412cf0ab/avd_docs/aws/s3/AVD-AWS-0089/CloudFormation.md (about) 1 2 Add a logging block to the resource to enable access logging 3 4 ```yaml--- 5 Resources: 6 GoodExample: 7 Properties: 8 LoggingConfiguration: 9 DestinationBucketName: logging-bucket 10 LogFilePrefix: accesslogs/ 11 Type: AWS::S3::Bucket 12 13 ``` 14 15