Skip to content
This repository was archived by the owner on Nov 10, 2025. It is now read-only.

Commit 7a74da1

Browse files
authored
Merge pull request #31 from aws-solutions/release/v2.0.5
Updated to version v2.0.5
2 parents eb676be + 5cf23d3 commit 7a74da1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+35074
-72976
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,12 @@ assignees: ""
2222

2323
- [ ] Version: [e.g. v2.0.0]
2424

25-
To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "_(SO0134) - The AWS CloudFormation template for deployment of the Automations for AWS Firewall Manager. Version **v2.0.0**_". You can also find the version from [releases](https://github.com/awslabs/aws-firewall-manager-automations-for-aws-organizations/releases)
25+
To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "_(SO0134) - The AWS CloudFormation template for deployment of the Automations for AWS Firewall Manager. Version **v2.0.0**_". You can also find the version from [releases](https://github.com/aws-solutions/aws-firewall-manager-automations-for-aws-organizations/releases)
2626

2727
- [ ] Region: [e.g. us-east-1]
2828
- [ ] Was the solution modified from the version published on this repository?
2929
- [ ] If the answer to the previous question was yes, are the changes available on GitHub?
3030
- [ ] Have you checked your [service quotas](https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html) for the services this solution uses?
31-
- [ ] Were there any errors in the CloudWatch Logs? [How to enable debug mode?](https://github.com/awslabs/aws-firewall-manager-automations-for-aws-organizations/#enable-debug-mode)
3231

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

CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,23 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.0.5] - 2023-06-05
9+
10+
### Changed
11+
12+
- Update parameter names for consistency
13+
- Refactor to reduce code complexity
14+
- Update client configs to latest sdk version
15+
- Fix broken URLs in README
16+
817
## [2.0.4] - 2023-04-21
918

1019
### Changed
1120

1221
- Fix npm json5 vulnerabilites [CVE-2022-46175](https://nvd.nist.gov/vuln/detail/CVE-2022-46175)
1322
- Upgrade AWS CDK dependencies to version 2
14-
- Changed the Object Ownership for logging bucket from 'Object writer' to 'Bucket owner enforced' to mitigate the impact caused by new S3 default settings.
15-
- Updated S3 bucket policy to support access logging.
23+
- Changed the Object Ownership for logging bucket from 'Object writer' to 'Bucket owner enforced' to mitigate the impact caused by new S3 default settings.
24+
- Updated S3 bucket policy to support access logging.
1625

1726
## [2.0.3] - 2022-12-14
1827

CONTRIBUTING.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,24 @@ documentation, we greatly value feedback and contributions from our community.
66
Please read through this document before submitting any issues or pull requests to ensure we have all the necessary
77
information to effectively respond to your bug report or contribution.
88

9+
910
## Reporting Bugs/Feature Requests
1011

1112
We welcome you to use the GitHub issue tracker to report bugs or suggest features.
1213

13-
When filing an issue, please check [existing open](https://github.com/awslabs/aws-firewall-manager-automations-for-aws-organizations/issues), or [recently closed](https://github.com/awslabs/aws-firewall-manager-automations-for-aws-organizations/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20), issues to make sure somebody else hasn't already
14+
When filing an issue, please check [existing open](https://github.com/aws-solutions/aws-firewall-manager-automations-for-aws-organizations/issues), or [recently closed](https://github.com/aws-solutions/aws-firewall-manager-automations-for-aws-organizations/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20), issues to make sure somebody else hasn't already
1415
reported the issue. Please try to include as much information as you can. Details like these are incredibly useful:
1516

16-
- A reproducible test case or series of steps
17-
- The version of our code being used
18-
- Any modifications you've made relevant to the bug
19-
- Anything unusual about your environment or deployment
17+
* A reproducible test case or series of steps
18+
* The version of our code being used
19+
* Any modifications you've made relevant to the bug
20+
* Anything unusual about your environment or deployment
2021

21-
## Contributing via Pull Requests
2222

23+
## Contributing via Pull Requests
2324
Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that:
2425

25-
1. You are working against the latest source on the _master_ branch.
26+
1. You are working against the latest source on the *main* branch.
2627
2. You check existing open, and recently merged, pull requests to make sure someone else hasn't addressed the problem already.
2728
3. You open an issue to discuss any significant work - we would hate for your time to be wasted.
2829

@@ -38,22 +39,23 @@ To send us a pull request, please:
3839
GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and
3940
[creating a pull request](https://help.github.com/articles/creating-a-pull-request/).
4041

42+
4143
## Finding contributions to work on
44+
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels ((enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any ['help wanted'](https://github.com/aws-solutions/aws-firewall-manager-automations-for-aws-organizations/labels/help%20wanted) issues is a great place to start.
4245

43-
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels ((enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any ['help wanted'](https://github.com/awslabs/aws-firewall-manager-automations-for-aws-organizations/labels/help%20wanted) issues is a great place to start.
4446

4547
## Code of Conduct
46-
4748
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
4849
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
4950
[email protected] with any additional questions or comments.
5051

51-
## Security issue notifications
5252

53+
## Security issue notifications
5354
If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue.
5455

56+
5557
## Licensing
5658

57-
See the [LICENSE](https://github.com/awslabs/aws-firewall-manager-automations-for-aws-organizations/blob/master/LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.
59+
See the [LICENSE](https://github.com/aws-solutions/aws-firewall-manager-automations-for-aws-organizations/blob/main/LICENSE.txt) file for our project's licensing. We will ask you to confirm the licensing of your contribution.
5860

59-
We may ask you to sign a [Contributor License Agreement (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) for larger changes.
61+
We may ask you to sign a [Contributor License Agreement (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) for larger changes.

NOTICE.txt

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1+
Automations for AWS Firewall Manager
2+
13
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2-
SPDX-License-Identifier: Apache-2.0
4+
Licensed under the Apache License Version 2.0 (the "License"). You may not use this file except
5+
in compliance with the License. A copy of the License is located at http://www.apache.org/licenses/
6+
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
7+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. See the License for the
8+
specific language governing permissions and limitations under the License.
9+
310

411
**********************
512
THIRD PARTY COMPONENTS
@@ -8,7 +15,26 @@ This software includes third party software subject to the following copyrights:
815

916
aws-sdk-js-v3 under Apache License 2.0
1017
aws-cdk under Apache License 2.0
18+
aws-cdk-lib under Apache License 2.0
1119
aws-solutions-constructs under Apache License 2.0
20+
@aws-sdk/client-s3 under Apache License 2.0
21+
@aws-solutions-constructs/aws-cloudfront-s3 under Apache License 2.0
22+
@aws-solutions-constructs/aws-eventbridge-lambda under Apache License 2.0
23+
@aws-sdk/client-fms under Apache License 2.0
24+
@aws-sdk/client-ec2 under Apache License 2.0
25+
@aws-sdk/client-s3 under Apache License 2.0
26+
@aws-sdk/client-sns under Apache License 2.0
27+
@aws-sdk/client-sqs under Apache License 2.0
28+
@aws-sdk/client-fms under Apache License 2.0
29+
@aws-sdk/client-dynamodb under Apache License 2.0
30+
@aws-sdk/client-ram under Apache License 2.0
31+
@aws-sdk/client-route53resolver under Apache License 2.0
32+
@aws-sdk/client-ssm under Apache License 2.0
33+
@aws-sdk/middleware-retry under Apache License 2.0
34+
@aws-sdk/util-waiter under Apache License 2.0
35+
@aws-sdk/client-cloudformation under Apache License 2.0
36+
@aws-sdk/client-organizations under Apache License 2.0
37+
fs under Apache License 2.0
1238
csv-writer under MIT License
1339
got under MIT License
1440
uuid under MIT License

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ The policy template requires following parameters:
7373

7474
_Value for other parameters **Policy Table**, **Metric Queue** and **UUID** can be found out from output section of primary FMS automations stack_
7575

76-
For more details on custom policy template, read here in the [implementation guide](https://docs.aws.amazon.com/solutions/latest/aws-firewall-manager-automations-for-aws-organizations/customize-policies.html)
76+
For more details on custom policy template, read here in the [implementation guide](https://docs.aws.amazon.com/solutions/latest/automations-for-aws-firewall-manager/customize-policies.html)
7777

7878
## Customization
7979

@@ -249,7 +249,7 @@ Automations for AWS Firewall Manager solution consists of:
249249

250250
## Collection of operational metrics
251251

252-
This solution collects anonymous operational metrics to help AWS improve the quality and features of the solution. For more information, including how to disable this capability, please see the [implementation guide](https://docs.aws.amazon.com/solutions/latest/aws-firewall-manager-automations-for-aws-organizations).
252+
This solution collects anonymized operational metrics to help AWS improve the quality and features of the solution. For more information, including how to disable this capability, please see the [implementation guide](https://docs.aws.amazon.com/solutions/latest/automations-for-aws-firewall-manager/solution-overview.html).
253253

254254
---
255255

deployment/aws-fms-automations.template

Lines changed: 15 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"Description": "(SO0134) - The AWS CloudFormation template for deployment of the aws-firewall-manager-automations-for-aws-organizations. Version v2.0.4",
2+
"Description": "(SO0134) - The AWS CloudFormation template for deployment of the aws-firewall-manager-automations-for-aws-organizations. Version v2.0.5",
33
"AWSTemplateFormatVersion": "2010-09-09",
44
"Metadata": {
55
"AWS::CloudFormation::Interface": {
@@ -38,7 +38,8 @@
3838
},
3939
"Solution": {
4040
"SolutionId": "SO0134",
41-
"SolutionVersion": "v2.0.4"
41+
"SolutionVersion": "v2.0.5",
42+
"UserAgentPrefix": "AwsSolution"
4243
}
4344
}
4445
},
@@ -286,7 +287,7 @@
286287
"S3Bucket": {
287288
"Fn::Sub": "solutions-${AWS::Region}"
288289
},
289-
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.4/asset24842558b9c75d96211d69797ccc4f45a68b0202cdad21acedf6f2e97515a608.zip"
290+
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.5/assetf61d8efdffd22a1aaf0e604e17c95273adfd0cfbc4bd714478dbdb7e5adea20b.zip"
290291
},
291292
"Role": {
292293
"Fn::GetAtt": [
@@ -326,27 +327,11 @@
326327
]
327328
},
328329
"LOG_LEVEL": "info",
329-
"CUSTOM_SDK_USER_AGENT": {
330-
"Fn::Join": [
331-
"",
332-
[
333-
"AwsSolution/",
334-
{
335-
"Fn::FindInMap": [
336-
"CommonResourceStackMap",
337-
"Solution",
338-
"SolutionId"
339-
]
340-
},
341-
"/",
342-
{
343-
"Fn::FindInMap": [
344-
"CommonResourceStackMap",
345-
"Solution",
346-
"SolutionVersion"
347-
]
348-
}
349-
]
330+
"USER_AGENT_PREFIX": {
331+
"Fn::FindInMap": [
332+
"CommonResourceStackMap",
333+
"Solution",
334+
"UserAgentPrefix"
350335
]
351336
}
352337
}
@@ -463,7 +448,7 @@
463448
"S3Bucket": {
464449
"Fn::Sub": "solutions-${AWS::Region}"
465450
},
466-
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.4/asset1eabd374284db340b74179e3429008132f5b6b0b7b28d472d852807d7f5f9746.zip"
451+
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.5/asset8e3d635893ea17fa3158623489cd42c680fad925b38de1ef51cb10d84f6e245e.zip"
467452
},
468453
"Role": {
469454
"Fn::GetAtt": [
@@ -788,7 +773,7 @@
788773
"S3Bucket": {
789774
"Fn::Sub": "solutions-${AWS::Region}"
790775
},
791-
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.4/assetaffb1a48bf50e8217e27ad04a18c084f4333ab82cce043250c7db971ef92de29.zip"
776+
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.5/assetd72c40e9198a7f69e1e525c456cae4305e1dc8b40874eca18533b8157e166a7d.zip"
792777
},
793778
"Role": {
794779
"Fn::GetAtt": [
@@ -901,7 +886,7 @@
901886
"CDKMetadata": {
902887
"Type": "AWS::CDK::Metadata",
903888
"Properties": {
904-
"Analytics": "v2:deflate64:H4sIAAAAAAAA/2VRTU/DMAz9LdzTwECAOLIJbojSca/cxJuytkmJk6Kp6n8ncVGZxCV+z/bzV27l4728uYJvKpRui840ctoHUK3YHWwJHnoM6DN5g2Ew9pjhzlltgnFWJF09ddA3GuT0Gq1ib0pZ8cuINuxd9AovKvz3zsJAL6fKdZgT2JauM+rMkzCaBd3VQISB5HM2icttVC2GLRAKfbbQO51W+IRmqcMg6b5ITh8RIzsXwC/rGP01u6DzLCoknlNwx3SbY95BRQqur/1vkGTp3Wh0PhVHVlXe5QKvt32PYYhhFtZplCe6HjcPcvOUvuJExhQ+2mB6lNVifwARyTzapgEAAA=="
889+
"Analytics": "v2:deflate64:H4sIAAAAAAAA/2VRTU/DMAz9LdyzsA0JcWUTuyFKx71yEzNlbZJSJ0VT1f9O4qJSiUv8nu3nr+zl005u7+CbNko3m9bUcjwHUI04froCerAYsM/kFbrOuEuGR++0CcY7kXTV2IKtNcjxFJ1ib0pZ8MuALpx97BWuKvz3TsKAlWPpW8wJbAvfGnXjSRhNgh4qIMJA8jmbxOUhqgbDAQiFvjmwXqcVPqCe6zBIui+S43vEyM4Z8Ms6Rn/NVnSaRInEcwrumG5zyTuoSMHbqv8Nkix6PxidT8WRRZV3WeHltm8xdDFMwnmN8kr3w+5R7rfpK65kzKaPLhiLspztDyJ/yIymAQAA"
905890
},
906891
"Metadata": {
907892
"aws:cdk:path": "CommonResourceStack/CDKMetadata/Default"
@@ -911,7 +896,7 @@
911896
"ComplianceStack": {
912897
"Type": "AWS::CloudFormation::Stack",
913898
"Properties": {
914-
"TemplateURL": "https://solutions-reference.s3.amazonaws.com/aws-firewall-manager-automations-for-aws-organizations/v2.0.4/aws-fms-compliance.template",
899+
"TemplateURL": "https://solutions-reference.s3.amazonaws.com/aws-firewall-manager-automations-for-aws-organizations/v2.0.5/aws-fms-compliance.template",
915900
"Parameters": {
916901
"MetricsQueue": {
917902
"Fn::GetAtt": [
@@ -939,7 +924,7 @@
939924
"PolicyStack": {
940925
"Type": "AWS::CloudFormation::Stack",
941926
"Properties": {
942-
"TemplateURL": "https://solutions-reference.s3.amazonaws.com/aws-firewall-manager-automations-for-aws-organizations/v2.0.4/aws-fms-policy.template",
927+
"TemplateURL": "https://solutions-reference.s3.amazonaws.com/aws-firewall-manager-automations-for-aws-organizations/v2.0.5/aws-fms-policy.template",
943928
"Parameters": {
944929
"PolicyTable": {
945930
"Ref": "FMSTable84B8646C"
@@ -985,7 +970,7 @@
985970
}
986971
},
987972
"MetricsSQSQueue": {
988-
"Description": "SQS queue for solution anonymous metric",
973+
"Description": "SQS queue for solution anonymized metric",
989974
"Value": {
990975
"Fn::GetAtt": [
991976
"MetricsQueue0DAB96B7",

deployment/aws-fms-compliance.template

Lines changed: 11 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"Description": "(SO0134-cr) - The AWS CloudFormation template for deployment of the aws-firewall-manager-automations-for-aws-organizations compliance reporter resources. Version v2.0.4",
2+
"Description": "(SO0134-cr) - The AWS CloudFormation template for deployment of the aws-firewall-manager-automations-for-aws-organizations compliance reporter resources. Version v2.0.5",
33
"AWSTemplateFormatVersion": "2010-09-09",
44
"Metadata": {
55
"AWS::CloudFormation::Interface": {
@@ -31,7 +31,7 @@
3131
},
3232
"MetricsQueue": {
3333
"Type": "String",
34-
"Description": "Metrics queue for solution anonymous metrics"
34+
"Description": "Metrics queue for solution anonymized metrics"
3535
}
3636
},
3737
"Mappings": {
@@ -41,7 +41,8 @@
4141
},
4242
"Solution": {
4343
"SolutionId": "SO0134",
44-
"SolutionVersion": "v2.0.4"
44+
"SolutionVersion": "v2.0.5",
45+
"UserAgentPrefix": "AwsSolution"
4546
}
4647
}
4748
},
@@ -455,7 +456,7 @@
455456
"S3Bucket": {
456457
"Fn::Sub": "solutions-${AWS::Region}"
457458
},
458-
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.4/asset7ca48ba4c31630e32e9bbd83b4930a1cc50ce235d4df68ede7e2560ed40a09e1.zip"
459+
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.5/asset738d410bd06b89003de777add46019407797681fbd3f108c2e93f72586460f7a.zip"
459460
},
460461
"Role": {
461462
"Fn::GetAtt": [
@@ -529,27 +530,11 @@
529530
]
530531
]
531532
},
532-
"CUSTOM_SDK_USER_AGENT": {
533-
"Fn::Join": [
534-
"",
535-
[
536-
"AwsSolution/",
537-
{
538-
"Fn::FindInMap": [
539-
"PolicyStackMap",
540-
"Solution",
541-
"SolutionId"
542-
]
543-
},
544-
"/",
545-
{
546-
"Fn::FindInMap": [
547-
"PolicyStackMap",
548-
"Solution",
549-
"SolutionVersion"
550-
]
551-
}
552-
]
533+
"USER_AGENT_PREFIX": {
534+
"Fn::FindInMap": [
535+
"PolicyStackMap",
536+
"Solution",
537+
"UserAgentPrefix"
553538
]
554539
}
555540
}
@@ -764,7 +749,7 @@
764749
"CDKMetadata": {
765750
"Type": "AWS::CDK::Metadata",
766751
"Properties": {
767-
"Analytics": "v2:deflate64:H4sIAAAAAAAA/02RzU7DMBCEn4W7YygVII60EjdoSLlXjrOttkns1GsXISvvjn9Skotnxrv7SV4/8pcn/nAnfqiQTVt0WHP/CWSh2VshW7Y9qlIY0YMFE8OHGAZUJxYGDp7W3G+cbMHG0uSylLpD+TtfTzmHjSAYGSni/lsPKGNbNumcZ5dx72qSBgeLWsXaMgfYJcC+HDiItWzSOcMWcWSd6OtGcP/ulLwRl74E0yNRYqPoua90l9BJZ+iNR+uDIAJL/C0KgyuoEHzlprGg48gqIO2MBJa6wopPcZmhvnN2cGmN/y3Bb7VqMD9Q6Qb4me6vq2e+eg1fdibEwjhlsQdeZf0DWOxBKM4BAAA="
752+
"Analytics": "v2:deflate64:H4sIAAAAAAAA/02Ry27DIBBFv6V7TPOQqm6bSN2ldZzuI4yn0cQ2OAykqpD/vTyc2hvuvczMkRg2/HXNV0/ihwrZtEWHNfcfQBaakxWyZftvVQojerBgYjiIYUB1YWHg7GnL/c7JFmwsTS5LqTuUv/P1lHPYCYKRkSLuv/SAMrZlk855dhlPriZpcLCoVawtc4DdAuzowEGsZZPOGbaII+tEXzeC+3en5IO49CWYHokSG0XPfaW7hE46Qx882p4FEVjib1EY3EGF4Cs3jQUdR1YBaWcksNQVVnyJywz1T2cHl9b43xL8XqsG8wOVboBf6fm+fuGbVfiyKyEWximLPfAq6x9YUz12zgEAAA=="
768753
},
769754
"Metadata": {
770755
"aws:cdk:path": "CommonResourceStack/ComplianceGeneratorStack/CDKMetadata/Default"

0 commit comments

Comments
 (0)