github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/avd_docs/aws/s3/AVD-AWS-0087/CloudFormation.md (about) 1 2 Prevent policies that allow public access being PUT 3 4 ```yaml--- 5 Resources: 6 GoodExample: 7 Properties: 8 PublicAccessBlockConfiguration: 9 BlockPublicAcls: true 10 BlockPublicPolicy: true 11 IgnorePublicAcls: true 12 RestrictPublicBuckets: true 13 Type: AWS::S3::Bucket 14 15 ``` 16 17