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

Commit aa7fb7b

Browse files
authored
Merge pull request #16 from aws-solutions/release/v2.0.3
updated version to v2.0.3
2 parents 1327a31 + b9db04e commit aa7fb7b

File tree

86 files changed

+31242
-16781
lines changed

Some content is hidden

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

86 files changed

+31242
-16781
lines changed

.eslintignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,4 @@ dist
55
# don't lint nyc coverage output
66
coverage
77
*.js
8-
resources
9-
10-
8+
resources

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ module.exports = {
1212
"prettier",
1313
"plugin:prettier/recommended",
1414
],
15-
};
15+
};

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ 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 AWS Firewall Manager Automations for AWS Organizations. 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/awslabs/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?

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ 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.3] - 2022-12-14
9+
10+
### Changed
11+
12+
- Fix npm got vulnerabilites
13+
- Upgrade to node16
14+
- Update solution name
15+
816
## [2.0.2] - 2022-05-09
917

1018
### Changed

NOTICE.txt

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

114
**********************
125
THIRD PARTY COMPONENTS

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# AWS Firewall Manager Automations for AWS Organizations
1+
# Automations for AWS Firewall Manager
22

33
:grey_exclamation: Notice: This solution supersedes AWS Centralized WAF & VPC SG Management solution.
44
|-----------------------------------------|
@@ -7,7 +7,7 @@
77

88
_Note:_ For any relevant information outside the scope of this readme, please refer to the solution landing page and implementation guide.
99

10-
## Table of content
10+
## Table of contents
1111

1212
- [Solution Overview](#solution-overview)
1313
- [Architecture](#architecture)
@@ -26,7 +26,7 @@ _Note:_ For any relevant information outside the scope of this readme, please re
2626

2727
## Solution Overview
2828

29-
The AWS Firewall Manager Automations for AWS Organizations solution is intended for customers looking to easily manage consistent security posture across their entire AWS Organization. The solution uses AWS Firewall Manager Service.
29+
The Automations for AWS Firewall Manager solution is intended for customers looking to easily manage consistent security posture across their entire AWS Organization. The solution uses AWS Firewall Manager Service.
3030

3131
Additionally, solution eases the installation process required to fulfill Firewall Manager prerequisites so customers can focus more on their organization security posture.
3232

@@ -77,7 +77,7 @@ For more details on custom policy template, read here in the [implementation gui
7777

7878
## Customization
7979

80-
- Prerequisite: Node.js=12
80+
- Prerequisite: Node.js=16
8181

8282
### Setup
8383

@@ -186,7 +186,7 @@ Additionally, if you want to control sending solution usage metrics to aws-solut
186186

187187
## File structure
188188

189-
AWS Firewall Manager Automations for AWS Organizations solution consists of:
189+
Automations for AWS Firewall Manager solution consists of:
190190

191191
- cdk constructs to generate needed resources
192192
- prereq manager to validate and install Firewall Manager prerequisites

deployment/aws-fms-automations.template

Lines changed: 33 additions & 17 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.2",
2+
"Description": "(SO0134) - The AWS CloudFormation template for deployment of the aws-firewall-manager-automations-for-aws-organizations. Version v2.0.3",
33
"AWSTemplateFormatVersion": "2010-09-09",
44
"Metadata": {
55
"AWS::CloudFormation::Interface": {
@@ -38,7 +38,7 @@
3838
},
3939
"Solution": {
4040
"SolutionId": "SO0134",
41-
"SolutionVersion": "v2.0.2"
41+
"SolutionVersion": "v2.0.3"
4242
}
4343
}
4444
},
@@ -286,7 +286,7 @@
286286
"S3Bucket": {
287287
"Fn::Sub": "solutions-${AWS::Region}"
288288
},
289-
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.2/assetb0fb6af9debb07eea6c649c1b1b91b817f8edecd385f04b04ef9f844e23bc0a6.zip"
289+
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.3/assetfa5f2ace916918dcb45bcf602ebee5570be72d12cdbec9d2bafaf6ee97ad9663.zip"
290290
},
291291
"Role": {
292292
"Fn::GetAtt": [
@@ -353,7 +353,7 @@
353353
},
354354
"Handler": "index.handler",
355355
"MemorySize": 512,
356-
"Runtime": "nodejs14.x"
356+
"Runtime": "nodejs16.x"
357357
},
358358
"DependsOn": [
359359
"HelperFunctionServiceRole6B43B152"
@@ -419,12 +419,28 @@
419419
{
420420
"Action": "lambda:InvokeFunction",
421421
"Effect": "Allow",
422-
"Resource": {
423-
"Fn::GetAtt": [
424-
"HelperFunctionAD0CEB0C",
425-
"Arn"
426-
]
427-
}
422+
"Resource": [
423+
{
424+
"Fn::GetAtt": [
425+
"HelperFunctionAD0CEB0C",
426+
"Arn"
427+
]
428+
},
429+
{
430+
"Fn::Join": [
431+
"",
432+
[
433+
{
434+
"Fn::GetAtt": [
435+
"HelperFunctionAD0CEB0C",
436+
"Arn"
437+
]
438+
},
439+
":*"
440+
]
441+
]
442+
}
443+
]
428444
}
429445
],
430446
"Version": "2012-10-17"
@@ -447,7 +463,7 @@
447463
"S3Bucket": {
448464
"Fn::Sub": "solutions-${AWS::Region}"
449465
},
450-
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.2/asset543c7a94b144a6259669eaf884305607b7a9abe85c43e4bfe62f9190ace37916.zip"
466+
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.3/asset3b263c2ad043fd069ef446753788c36e595c82b51a70478e58258c8ef7471671.zip"
451467
},
452468
"Role": {
453469
"Fn::GetAtt": [
@@ -467,7 +483,7 @@
467483
}
468484
},
469485
"Handler": "framework.onEvent",
470-
"Runtime": "nodejs12.x",
486+
"Runtime": "nodejs14.x",
471487
"Timeout": 900
472488
},
473489
"DependsOn": [
@@ -772,7 +788,7 @@
772788
"S3Bucket": {
773789
"Fn::Sub": "solutions-${AWS::Region}"
774790
},
775-
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.2/asset0179e7fbf546a23833885fe474c28e3679edfd838bb7427522423f00cef71682.zip"
791+
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.3/asset11dd34dca7585d45b73d834c460a40768645e87163f46ec7c6868b9725d961d4.zip"
776792
},
777793
"Role": {
778794
"Fn::GetAtt": [
@@ -810,7 +826,7 @@
810826
"Handler": "index.handler",
811827
"MemorySize": 128,
812828
"ReservedConcurrentExecutions": 1,
813-
"Runtime": "nodejs14.x",
829+
"Runtime": "nodejs16.x",
814830
"Timeout": 15
815831
},
816832
"DependsOn": [
@@ -885,7 +901,7 @@
885901
"CDKMetadata": {
886902
"Type": "AWS::CDK::Metadata",
887903
"Properties": {
888-
"Analytics": "v2:deflate64:H4sIAAAAAAAA/2WQwU7DMAyGn2X31KMwCY6wCm6I0vECaWKmrE1S4qRoivruNCkqlbjEnx3bv+0SysMD3Owe+TcVQnb7KKxDiCfPRceqT1NzxzV6dMl55cOgzDlhZY1UXlnDnojQz/nn/GMNeReEZ1Ugb3WDZIMTmEpW3gZXobfgh+AnlgaJPdet5BBfghFZZE5Y+XlE40+5w2ag/9GJKa4hNrZf5JOtba/ENS+WaWJ0V/C0AUFeZPbhGESH/sgJmbwarq1sIX7wdumTYa77IojvAUMOLpDfXJfpT2zjThMT+TSF+z0DQe3sqCS6iRkrES60H8sDlPdwu7uQUoULxiuN0Cz2B0YhWi61AQAA"
904+
"Analytics": "v2:deflate64:H4sIAAAAAAAA/2WQwU7DMAyGn2X31KOagCusGjdE6XiBNDFT1iYpcVI0RX13mhSVSlziz47t33YJ5eMB7nZP/JsKIbt9FNYhxLPnomPVp6m54xo9uuS88mFQ5pKwskYqr6xhz0To5/xL/rGGvAvCsyqQt7pBssEJTCUrb4Or0FvwQ/ATS4PEnutWcogvwYgsMiesfBrR+HPusBnof3RiimuIje0X+WRr2ytxy4tlmhgdCp42IMiLzD4cg+jQHzkhkzfDtZUtxA/eLn0yzHVfBPE9YMjBBfKb6zL9iW3caWIin6Zwv2cgqJ0dlUQ3MWMlwpX2Y/kA5T2UuyspVbhgvNIIzWJ/AH5YZtS1AQAA"
889905
},
890906
"Metadata": {
891907
"aws:cdk:path": "CommonResourceStack/CDKMetadata/Default"
@@ -895,7 +911,7 @@
895911
"ComplianceStack": {
896912
"Type": "AWS::CloudFormation::Stack",
897913
"Properties": {
898-
"TemplateURL": "https://solutions-reference.s3.amazonaws.com/aws-firewall-manager-automations-for-aws-organizations/v2.0.2/aws-fms-compliance.template",
914+
"TemplateURL": "https://solutions-reference.s3.amazonaws.com/aws-firewall-manager-automations-for-aws-organizations/v2.0.3/aws-fms-compliance.template",
899915
"Parameters": {
900916
"MetricsQueue": {
901917
"Fn::GetAtt": [
@@ -923,7 +939,7 @@
923939
"PolicyStack": {
924940
"Type": "AWS::CloudFormation::Stack",
925941
"Properties": {
926-
"TemplateURL": "https://solutions-reference.s3.amazonaws.com/aws-firewall-manager-automations-for-aws-organizations/v2.0.2/aws-fms-policy.template",
942+
"TemplateURL": "https://solutions-reference.s3.amazonaws.com/aws-firewall-manager-automations-for-aws-organizations/v2.0.3/aws-fms-policy.template",
927943
"Parameters": {
928944
"PolicyTable": {
929945
"Ref": "FMSTable84B8646C"

deployment/aws-fms-compliance.template

Lines changed: 5 additions & 5 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.2",
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.3",
33
"AWSTemplateFormatVersion": "2010-09-09",
44
"Metadata": {
55
"AWS::CloudFormation::Interface": {
@@ -41,7 +41,7 @@
4141
},
4242
"Solution": {
4343
"SolutionId": "SO0134",
44-
"SolutionVersion": "v2.0.2"
44+
"SolutionVersion": "v2.0.3"
4545
}
4646
}
4747
},
@@ -320,7 +320,7 @@
320320
"S3Bucket": {
321321
"Fn::Sub": "solutions-${AWS::Region}"
322322
},
323-
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.2/asset88636237c0e4a294ce83c7bf4f72b753d5d8c3cc8b14d7f8063ad3153278678e.zip"
323+
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.3/asset332cd915df4cfe99ce18813b9a848e7f1fda348be9a4dfdf4bf64007435c84f2.zip"
324324
},
325325
"Role": {
326326
"Fn::GetAtt": [
@@ -422,7 +422,7 @@
422422
"Handler": "index.handler",
423423
"MemorySize": 256,
424424
"ReservedConcurrentExecutions": 200,
425-
"Runtime": "nodejs14.x",
425+
"Runtime": "nodejs16.x",
426426
"Timeout": 300
427427
},
428428
"DependsOn": [
@@ -629,7 +629,7 @@
629629
"CDKMetadata": {
630630
"Type": "AWS::CDK::Metadata",
631631
"Properties": {
632-
"Analytics": "v2:deflate64:H4sIAAAAAAAA/01Q0W7CMAz8Ft5Tsw6k7XEDibexruwHQuqh0DYpccI0Rfn3JWmBvvju7Ms5cgnl+hWeFm/8lwrRtEsvtEHweySLzcFy0bLtj6q44T1aNEl88GGQ6sRqJO2MQPZOhDZ6T6kbDZ/ODs6yrVZkjRM29e7myOOgkVZqFVha62kFfuNEi9k5sRE2nDAwUgT+Ww9SJMNIcq10J8XfvTnJgzuSMHJIK9JsrmPYJYZ9OXT5LyPJ9RE2k4F1vD82HPzOKXFLnPMKTS+JcrbkPfhadzk64yP0lkergqeDEeS7MbyiisLXbnoWMYTAlG4QzrS8lmsoX+B5cSYpC+OUlT1CPeI/GcUafcABAAA="
632+
"Analytics": "v2:deflate64:H4sIAAAAAAAA/01Q0W7DIAz8lr4Td1HU7XVrpb5tzdL9ACVeRZNAhqHThPj3AUnbvPju7OOMXEL5UsHT6pX/UiHabu2FNgj+A8lie7RcdGz3rWpu+IAWTRLvfBylOrMGSTsjkL0RoY3ec+pGw8HZ0Vm204qsccKm3t0ceRy00kqtAktrPVXgt050mJ0zm2DLCQMjReC/9ChFMkwk11r3Uvzdm7M8uhMJI8e0Is2WOob9xLBPhy7/ZSK5PsIWMrCeD6eWg987JW6JS16jGSRRzpZ8AN/oPkdnfITe8qgqeDoYQb4bwyuqKHzj5mcRQwhM6RbhQutr+QzlBsrVhaQsjFNWDgjNhP/ayCChwAEAAA=="
633633
},
634634
"Metadata": {
635635
"aws:cdk:path": "CommonResourceStack/ComplianceGeneratorStack/CDKMetadata/Default"

deployment/aws-fms-demo.template

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"Description": "(SO0134D) - The AWS CloudFormation template for deployment of the aws-firewall-manager-automations-for-aws-organizations demo resources. Version v2.0.2",
2+
"Description": "(SO0134D) - The AWS CloudFormation template for deployment of the aws-firewall-manager-automations-for-aws-organizations demo resources. Version v2.0.3",
33
"AWSTemplateFormatVersion": "2010-09-09",
44
"Resources": {
55
"testcloudfronts3S3LoggingBucket90D239DD": {
@@ -431,7 +431,6 @@
431431
"testVPCPublicSubnet1SubnetD8AD9C87": {
432432
"Type": "AWS::EC2::Subnet",
433433
"Properties": {
434-
"CidrBlock": "10.0.0.0/18",
435434
"VpcId": {
436435
"Ref": "testVPC102E57DE"
437436
},
@@ -443,6 +442,7 @@
443442
}
444443
]
445444
},
445+
"CidrBlock": "10.0.0.0/18",
446446
"MapPublicIpOnLaunch": false,
447447
"Tags": [
448448
{
@@ -553,7 +553,6 @@
553553
"testVPCPublicSubnet2Subnet384459D2": {
554554
"Type": "AWS::EC2::Subnet",
555555
"Properties": {
556-
"CidrBlock": "10.0.64.0/18",
557556
"VpcId": {
558557
"Ref": "testVPC102E57DE"
559558
},
@@ -565,6 +564,7 @@
565564
}
566565
]
567566
},
567+
"CidrBlock": "10.0.64.0/18",
568568
"MapPublicIpOnLaunch": false,
569569
"Tags": [
570570
{
@@ -675,7 +675,6 @@
675675
"testVPCPrivateSubnet1Subnet096C7B7F": {
676676
"Type": "AWS::EC2::Subnet",
677677
"Properties": {
678-
"CidrBlock": "10.0.128.0/18",
679678
"VpcId": {
680679
"Ref": "testVPC102E57DE"
681680
},
@@ -687,6 +686,7 @@
687686
}
688687
]
689688
},
689+
"CidrBlock": "10.0.128.0/18",
690690
"MapPublicIpOnLaunch": false,
691691
"Tags": [
692692
{
@@ -756,7 +756,6 @@
756756
"testVPCPrivateSubnet2SubnetE307A6A8": {
757757
"Type": "AWS::EC2::Subnet",
758758
"Properties": {
759-
"CidrBlock": "10.0.192.0/18",
760759
"VpcId": {
761760
"Ref": "testVPC102E57DE"
762761
},
@@ -768,6 +767,7 @@
768767
}
769768
]
770769
},
770+
"CidrBlock": "10.0.192.0/18",
771771
"MapPublicIpOnLaunch": false,
772772
"Tags": [
773773
{
@@ -916,7 +916,7 @@
916916
"CDKMetadata": {
917917
"Type": "AWS::CDK::Metadata",
918918
"Properties": {
919-
"Analytics": "v2:deflate64:H4sIAAAAAAAA/3VRwW7CMAz9Fu5pWAFpO451A3HZKoq4p67ZAiVBiQNCVf59SQsLl538/Pz09GznPJ+98KfRq7jYrIPmMO5AG+RdRQIOrNDKknFAbI1WOwPIip16xEHRSJJaedZb2Cnv3hwckOL0hoZS6lbCNdFD7xm02jU7oxXxbuEURLeo+sPvMoSQteubLyO/pZoDoLWrBhVJ6j2L6LKILv8pHm08Q5jwbnuCONmWBStdHeJUrlZD9ITW2hFuRN1i4hM3t1aDFPfQ/SCCj1UZy6egpSC8iCsrjTwHmIxXitAEfBcMSW7dnMIHfo4hPqsQnAlLLI12pz7DI+G9Z1a3/Vo2g/vH7Dj+I902C59JN9roauqZ0g3yvR2f8xnPn/lktLdSZsaFkx2Rr4f6C9hOrY4jAgAA"
919+
"Analytics": "v2:deflate64:H4sIAAAAAAAA/3VRTW/CMAz9LdzTsK7adh3rBuKyVRRxT12zBUqM8gFCVf77khYWLjv5+fnp6dnOef5S8IfJqzibrId2P+2BNPK+tgL2rCRlrHZg2QoNOQ3Iyq26x0HRSitJeTZYmIL3bw72aOP0isZSUSfhkuix9ww6cu1Wk7K8nzsF0S2q/vC7DCFk44bmS8tvqWYAaMyyRWWlHTzL6DKPLv8p7m08Q3jk/eYIcbKpSla5JsSpXaPG6AmtyFlci6bDxCduZgyBFLfQwyCCj2UVy6ewC2HxLC6s0vIUYDJeKos64JtgTHLtZjZ84OcQ4rMawemwxEKTOw4Z7gnvPTPUDWuZDG4fM9P4j3TbLHwm3WhNdeGZohb5zkxP+TPPn3g+2RkpM+3CyQ7IV2P9BTg15LUjAgAA"
920920
},
921921
"Metadata": {
922922
"aws:cdk:path": "DemoStack/CDKMetadata/Default"

0 commit comments

Comments
 (0)