Skip to content

Commit

Permalink
v2.3.3 - s3 url patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Leaverton committed Oct 29, 2020
1 parent b7d8088 commit 47eca45
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Implemented Athena optimization: added partitioning for CloudFront, ALB and WAF logs and Athena queries
### Changed
- Fixed potential DoS vector within Bad Bots X-Forward-For header
## [2.3.3] - 2020-10-30
### Changed
- Replaced s3 path-style with virtual-hosted style
8 changes: 4 additions & 4 deletions deployment/aws-waf-security-automations.template
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ Resources:
DependsOn: CheckRequirements
Properties:
TemplateURL: !Sub
- 'https://s3.amazonaws.com/${S3Bucket}/${KeyPrefix}/aws-waf-security-automations-firehose-athena.template'
- 'https://${S3Bucket}.s3.amazonaws.com/${KeyPrefix}/aws-waf-security-automations-firehose-athena.template'
-
S3Bucket: !FindInMap ["SourceCode", "General", "TemplateBucket"]
KeyPrefix: !FindInMap ["SourceCode", "General", "KeyPrefix"]
Expand All @@ -442,7 +442,7 @@ Resources:
DependsOn: CheckRequirements
Properties:
TemplateURL: !Sub
- 'https://s3.amazonaws.com/${S3Bucket}/${KeyPrefix}/aws-waf-security-automations-alb.template'
- 'https://${S3Bucket}.s3.amazonaws.com/${KeyPrefix}/aws-waf-security-automations-alb.template'
-
S3Bucket: !FindInMap ["SourceCode", "General", "TemplateBucket"]
KeyPrefix: !FindInMap ["SourceCode", "General", "KeyPrefix"]
Expand All @@ -468,7 +468,7 @@ Resources:
DependsOn: CheckRequirements
Properties:
TemplateURL: !Sub
- 'https://s3.amazonaws.com/${S3Bucket}/${KeyPrefix}/aws-waf-security-automations-cloudfront.template'
- 'https://${S3Bucket}.s3.amazonaws.com/${KeyPrefix}/aws-waf-security-automations-cloudfront.template'
-
S3Bucket: !FindInMap ["SourceCode", "General", "TemplateBucket"]
KeyPrefix: !FindInMap ["SourceCode", "General", "KeyPrefix"]
Expand Down Expand Up @@ -1088,7 +1088,7 @@ Resources:
Region: !Ref 'AWS::Region'
ReputationListsParser: !GetAtt ReputationListsParser.Arn
WAFReputationListsSet: !If [AlbEndpoint, !GetAtt AlbStack.Outputs.WAFReputationListsSet, !GetAtt CloudFrontStack.Outputs.WAFReputationListsSet]

CustomAddAthenaPartitions:
Type: 'Custom::AddAthenaPartitions'
Condition: AthenaLogParser
Expand Down

0 comments on commit 47eca45

Please sign in to comment.