Skip to content

Commit 03caa39

Browse files
author
Joshua Leaverton
committed
Version 3.1.0
1 parent d7e42d6 commit 03caa39

File tree

6 files changed

+79
-71
lines changed

6 files changed

+79
-71
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,17 @@ Steps to reproduce the behavior.
1717
A clear and concise description of what you expected to happen.
1818

1919
**Please complete the following information about the solution:**
20-
- [ ] Version: [e.g. v1.0.0]
20+
- [ ] Version: [e.g. v3.1]
2121

22-
To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "_(SO0021) - Video On Demand workflow with AWS Step Functions, MediaConvert, MediaPackage, S3, CloudFront and DynamoDB. Version **v5.0.0**_". If the description does not contain the version information, you can look at the mappings section of the template:
22+
To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "AWS WAF Security Automations v3.1: This AWS CloudFormation template helps you provision the AWS WAF Security Automations stack without worrying about creating and configuring the underlying AWS infrastructure". If the description does not contain the version information, you can look at the mappings section of the template:
2323

2424
```yaml
2525
Mappings:
2626
SourceCode:
2727
General:
28-
S3Bucket: "solutions"
29-
KeyPrefix: "video-on-demand-on-aws/v5.0.0"
28+
TemplateBucket: 'solutions-reference'
29+
SourceBucket: 'solutions'
30+
KeyPrefix: 'waf-security-automation/v3.1'
3031
```
3132
3233
- [ ] Region: [e.g. us-east-1]

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
**/package-lock.json
77
**/.pyc
88
/deployment/open-source/
9+
source/tests/__pycache__/
10+
source/log_parser/__pycache__/

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2525
### Changed
2626
- Upgraded from WAF classic to WAFV2 API
2727
- Eliminated dependency on NodeJS and use Python as the standardized programming language
28+
## [3.1] - 2020-10-22
29+
### Changed
30+
- Replaced s3 path-style with virtual-hosted style
31+
- Added partition variable to all ARNs
32+
- Updated bug report

deployment/aws-waf-security-automations-firehose-athena.template

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ Resources:
110110
- s3:ListBucketMultipartUploads
111111
- s3:PutObject
112112
Resource:
113-
- !Sub 'arn:aws:s3:::${WafLogBucket}'
114-
- !Sub 'arn:aws:s3:::${WafLogBucket}/*'
113+
- !Sub 'arn:${AWS::Partition}:s3:::${WafLogBucket}'
114+
- !Sub 'arn:${AWS::Partition}:s3:::${WafLogBucket}/*'
115115
- PolicyName: KinesisAccess
116116
PolicyDocument:
117117
Statement:
@@ -121,15 +121,15 @@ Resources:
121121
- kinesis:GetShardIterator
122122
- kinesis:GetRecords
123123
Resource:
124-
- !Sub 'arn:aws:kinesis:${AWS::Region}:${AWS::AccountId}:stream/${DeliveryStreamName}'
124+
- !Sub 'arn:${AWS::Partition}:kinesis:${AWS::Region}:${AWS::AccountId}:stream/${DeliveryStreamName}'
125125
- PolicyName: CloudWatchAccess
126126
PolicyDocument:
127127
Statement:
128128
- Effect: Allow
129129
Action:
130130
- 'logs:PutLogEvents'
131131
Resource:
132-
- !Sub 'arn:aws:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/kinesisfirehose/${DeliveryStreamName}:*'
132+
- !Sub 'arn:${AWS::Partition}:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/kinesisfirehose/${DeliveryStreamName}:*'
133133
Metadata:
134134
cfn_nag:
135135
rules_to_suppress:

deployment/aws-waf-security-automations-webacl.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ Resources:
337337
- 'logs:CreateLogStream'
338338
- 'logs:PutLogEvents'
339339
Resource:
340-
- !Sub 'arn:aws:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/lambda/*CustomTimer*'
340+
- !Sub 'arn:${AWS::Partition}:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/lambda/*CustomTimer*'
341341

342342
CustomTimer:
343343
Type: 'AWS::Lambda::Function'

0 commit comments

Comments
 (0)