aws-solutions / aws-waf-security-automations

This solution automatically deploys a single web access control list (web ACL) with a set of AWS WAF rules designed to filter common web-based attacks.
https://aws.amazon.com/solutions/aws-waf-security-automations
Apache License 2.0
852 stars 366 forks source link

Fails to create AccessLoggingBucket in us-east-2 #236

Closed taylorsilva closed 1 year ago

taylorsilva commented 1 year ago

Describe the bug Deploying the CF Stack in us-east-2 results in the following error from resources AccessLoggingBucket

Bucket cannot have ACLs set with ObjectOwnership's BucketOwnerEnforced setting

image

To Reproduce Deploy CF template v3.2.4 in us-east-2: https://s3.amazonaws.com/solutions-reference/aws-waf-security-automations/v3.2.4/aws-waf-security-automations.template

All parameters are the default value besides these three:

ActivateAWSManagedRulesParam = yes
EndpointType = ALB
AppAccessLogBucket = (I created a bucet with default security settings, so ACL disabled) 

Expected behavior Deploys successfully; S3 bucket is created.

Please complete the following information about the solution:

Screenshots If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).

Additional context

In the same AWS account I was able to deploy v3.2.4 in the following regions SUCCESSFULLY:

Other info:

WillAWS commented 1 year ago

Hi @taylorsilva, this issue should be fixed in the release/v3.2.5 (released yesterday)

taylorsilva commented 1 year ago

@WillAWS any idea when the template will be up at https://s3.amazonaws.com/solutions-reference/aws-waf-security-automations/<version>/aws-waf-security-automations.template?

Thanks again for the fast reply!

WillAWS commented 1 year ago

@taylorsilva The documentation is a bit behind, should release the updated docs soon. We released with an updated name here: https://solutions-reference.s3.amazonaws.com/security-automations-for-aws-waf/v3.2.5/aws-waf-security-automations.template