Skip to content
This repository was archived by the owner on Nov 10, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.0.11] - 2024-08-01

### Security
- Upgrade `fast-xml-parser` to mitigate [CVE-2024-41818](https://nvd.nist.gov/vuln/detail/CVE-2024-41818)

### Changed
- Extended PolicyManager's Log Group retention period to ten years.

## [2.0.10] - 2024-06-19

### Security
Expand Down
14 changes: 7 additions & 7 deletions deployment/aws-fms-automations.template
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Description": "(SO0134) - The AWS CloudFormation template for deployment of the aws-firewall-manager-automations-for-aws-organizations. Version v2.0.10",
"Description": "(SO0134) - The AWS CloudFormation template for deployment of the aws-firewall-manager-automations-for-aws-organizations. Version v2.0.11",
"AWSTemplateFormatVersion": "2010-09-09",
"Metadata": {
"AWS::CloudFormation::Interface": {
Expand Down Expand Up @@ -38,7 +38,7 @@
},
"Solution": {
"SolutionId": "SO0134",
"SolutionVersion": "v2.0.10",
"SolutionVersion": "v2.0.11",
"UserAgentPrefix": "AwsSolution"
}
}
Expand Down Expand Up @@ -303,7 +303,7 @@
"S3Bucket": {
"Fn::Sub": "solutions-${AWS::Region}"
},
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.10/assetd121122acde085efd7d2a7f074c5a51327e86cc2fb1104c44095fa98bb2fdd69.zip"
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.11/asset65cb064f1448ec88ad58959c7b3936a7c0f0b90b6a84e2143aa944da5ab7e61b.zip"
},
"Description": {
"Fn::Join": [
Expand Down Expand Up @@ -464,7 +464,7 @@
"S3Bucket": {
"Fn::Sub": "solutions-${AWS::Region}"
},
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.10/asset7382a0addb9f34974a1ea6c6c9b063882af874828f366f5c93b2b7b64db15c94.zip"
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.11/asset7382a0addb9f34974a1ea6c6c9b063882af874828f366f5c93b2b7b64db15c94.zip"
},
"Description": "AWS CDK resource provider framework - onEvent (CommonResourceStack/HelperProvider)",
"Environment": {
Expand Down Expand Up @@ -789,7 +789,7 @@
"S3Bucket": {
"Fn::Sub": "solutions-${AWS::Region}"
},
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.10/assetc2fc4947fa6b45b1ca7c63d62ff33796fd3ecb60c42097ac6bf591e52d481b39.zip"
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.11/assetcf37c8159d10a0ef4973f62aecd215913bc1e21a8fe6fba6656497a30267d0df.zip"
},
"Description": {
"Fn::Join": [
Expand Down Expand Up @@ -926,7 +926,7 @@
]
}
},
"TemplateURL": "https://solutions-reference.s3.amazonaws.com/aws-firewall-manager-automations-for-aws-organizations/v2.0.10/aws-fms-compliance.template"
"TemplateURL": "https://solutions-reference.s3.amazonaws.com/aws-firewall-manager-automations-for-aws-organizations/v2.0.11/aws-fms-compliance.template"
},
"UpdateReplacePolicy": "Delete",
"DeletionPolicy": "Delete",
Expand Down Expand Up @@ -958,7 +958,7 @@
},
"PolicyIdentifier": "DefaultPolicy"
},
"TemplateURL": "https://solutions-reference.s3.amazonaws.com/aws-firewall-manager-automations-for-aws-organizations/v2.0.10/aws-fms-policy.template"
"TemplateURL": "https://solutions-reference.s3.amazonaws.com/aws-firewall-manager-automations-for-aws-organizations/v2.0.11/aws-fms-policy.template"
},
"UpdateReplacePolicy": "Delete",
"DeletionPolicy": "Delete",
Expand Down
6 changes: 3 additions & 3 deletions deployment/aws-fms-compliance.template
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Description": "(SO0134-cr) - The AWS CloudFormation template for deployment of the aws-firewall-manager-automations-for-aws-organizations compliance reporter resources. Version v2.0.10",
"Description": "(SO0134-cr) - The AWS CloudFormation template for deployment of the aws-firewall-manager-automations-for-aws-organizations compliance reporter resources. Version v2.0.11",
"AWSTemplateFormatVersion": "2010-09-09",
"Metadata": {
"AWS::CloudFormation::Interface": {
Expand Down Expand Up @@ -41,7 +41,7 @@
},
"Solution": {
"SolutionId": "SO0134",
"SolutionVersion": "v2.0.10",
"SolutionVersion": "v2.0.11",
"UserAgentPrefix": "AwsSolution"
}
}
Expand Down Expand Up @@ -456,7 +456,7 @@
"S3Bucket": {
"Fn::Sub": "solutions-${AWS::Region}"
},
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.10/asset0c65a0f491e8d69cddfd0b45da98ee9512cd72e06239557b07637450dc95539a.zip"
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.11/asset1ac2bfd15f8885c18e44ff6c9a6d0b28cb03c7a7cc014d994d0854e5206dd020.zip"
},
"DeadLetterConfig": {
"TargetArn": {
Expand Down
2 changes: 1 addition & 1 deletion deployment/aws-fms-demo.template
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Description": "(SO0134D) - The AWS CloudFormation template for deployment of the aws-firewall-manager-automations-for-aws-organizations demo resources. Version v2.0.10",
"Description": "(SO0134D) - The AWS CloudFormation template for deployment of the aws-firewall-manager-automations-for-aws-organizations demo resources. Version v2.0.11",
"AWSTemplateFormatVersion": "2010-09-09",
"Resources": {
"testcloudfronts3S3LoggingBucket90D239DD": {
Expand Down
12 changes: 6 additions & 6 deletions deployment/aws-fms-policy.template
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Description": "(SO0134-po) - The AWS CloudFormation template for deployment of the aws-firewall-manager-automations-for-aws-organizations. Version v2.0.10",
"Description": "(SO0134-po) - The AWS CloudFormation template for deployment of the aws-firewall-manager-automations-for-aws-organizations. Version v2.0.11",
"AWSTemplateFormatVersion": "2010-09-09",
"Metadata": {
"AWS::CloudFormation::Interface": {
Expand Down Expand Up @@ -64,7 +64,7 @@
},
"Solution": {
"SolutionId": "SO0134",
"SolutionVersion": "v2.0.10",
"SolutionVersion": "v2.0.11",
"UserAgentPrefix": "AwsSolution"
}
}
Expand Down Expand Up @@ -393,7 +393,7 @@
{
"Ref": "AWS::Region"
},
"/aws-firewall-manager-automations-for-aws-organizations/v2.0.10/policy_manifest.json\",\"Key\":\"policy_manifest.json\"},\"physicalResourceId\":{\"id\":\"1718725613573\"}}"
"/aws-firewall-manager-automations-for-aws-organizations/v2.0.11/policy_manifest.json\",\"Key\":\"policy_manifest.json\"},\"physicalResourceId\":{\"id\":\"1722475091257\"}}"
]
]
},
Expand Down Expand Up @@ -504,7 +504,7 @@
"S3Bucket": {
"Fn::Sub": "solutions-${AWS::Region}"
},
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.10/asset17c16a3854838fd3ff4bda08146122a6701f33b9c86ae17f415ad0dc47a97544.zip"
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.11/asset17c16a3854838fd3ff4bda08146122a6701f33b9c86ae17f415ad0dc47a97544.zip"
},
"Handler": "index.handler",
"Role": {
Expand Down Expand Up @@ -638,7 +638,7 @@
"S3Bucket": {
"Fn::Sub": "solutions-${AWS::Region}"
},
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.10/asset013e8c75d236c32a1fab745b7186aba0455339de79b1c9ca3d7499c59b99d3d4.zip"
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.11/asset282f99aacf96565b4780d1e9874c90fa48ef0abf40ccf66721408e97e6d3b664.zip"
},
"DeadLetterConfig": {
"TargetArn": {
Expand Down Expand Up @@ -928,7 +928,7 @@
]
]
},
"RetentionInDays": 7
"RetentionInDays": 3653
},
"UpdateReplacePolicy": "Delete",
"DeletionPolicy": "Delete",
Expand Down
12 changes: 6 additions & 6 deletions deployment/aws-fms-prereq.template
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Description": "(SO0134N) - The AWS CloudFormation template for deployment of the aws-firewall-manager-automations-for-aws-organizations. Version v2.0.10",
"Description": "(SO0134N) - The AWS CloudFormation template for deployment of the aws-firewall-manager-automations-for-aws-organizations. Version v2.0.11",
"AWSTemplateFormatVersion": "2010-09-09",
"Metadata": {
"AWS::CloudFormation::Interface": {
Expand Down Expand Up @@ -48,7 +48,7 @@
},
"Solution": {
"SolutionId": "SO0134N",
"SolutionVersion": "v2.0.10",
"SolutionVersion": "v2.0.11",
"GlobalStackSetName": "FMS-EnableConfig-Global",
"RegionalStackSetName": "FMS-EnableConfig-Regional",
"UserAgentPrefix": "AwsSolution"
Expand Down Expand Up @@ -97,7 +97,7 @@
"S3Bucket": {
"Fn::Sub": "solutions-${AWS::Region}"
},
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.10/assetd121122acde085efd7d2a7f074c5a51327e86cc2fb1104c44095fa98bb2fdd69.zip"
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.11/asset65cb064f1448ec88ad58959c7b3936a7c0f0b90b6a84e2143aa944da5ab7e61b.zip"
},
"Description": "DO NOT DELETE - FMS helper function",
"Environment": {
Expand Down Expand Up @@ -245,7 +245,7 @@
"S3Bucket": {
"Fn::Sub": "solutions-${AWS::Region}"
},
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.10/asset7382a0addb9f34974a1ea6c6c9b063882af874828f366f5c93b2b7b64db15c94.zip"
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.11/asset7382a0addb9f34974a1ea6c6c9b063882af874828f366f5c93b2b7b64db15c94.zip"
},
"Description": "AWS CDK resource provider framework - onEvent (PreReqStack/HelperProvider)",
"Environment": {
Expand Down Expand Up @@ -385,7 +385,7 @@
"S3Bucket": {
"Fn::Sub": "solutions-${AWS::Region}"
},
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.10/assetf3f84a266840977b5a680778ded4c90b32a4741935a3e43fff15f180297682b1.zip"
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.11/asset8652d017578624dfafbf9e62e678f4a6eb113df1cfa4e55027279723fbf7e847.zip"
},
"Description": "Function to validate and install pre-requisites for the FMS solution",
"Environment": {
Expand Down Expand Up @@ -627,7 +627,7 @@
"S3Bucket": {
"Fn::Sub": "solutions-${AWS::Region}"
},
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.10/asset7382a0addb9f34974a1ea6c6c9b063882af874828f366f5c93b2b7b64db15c94.zip"
"S3Key": "aws-firewall-manager-automations-for-aws-organizations/v2.0.11/asset7382a0addb9f34974a1ea6c6c9b063882af874828f366f5c93b2b7b64db15c94.zip"
},
"Description": "AWS CDK resource provider framework - onEvent (PreReqStack/PreReqProvider)",
"Environment": {
Expand Down
24 changes: 12 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@
"@aws-sdk/client-s3": "^3.359.0"
},
"overrides": {
"word-wrap": "1.2.4"
"word-wrap": "1.2.4",
"fast-xml-parser": ">=4.4.1"
},
"resolutions": {
"word-wrap": "1.2.4"
}
}
}
2 changes: 1 addition & 1 deletion source/resources/__tests__/policy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ describe("==Policy Stack Tests==", () => {
});
test("has cloudwatch log group", () => {
expect(policyStack).toHaveResource("AWS::Logs::LogGroup", {
RetentionInDays: 7,
RetentionInDays: 3653,
});
});
});
Expand Down
2 changes: 1 addition & 1 deletion source/resources/lib/policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ export class PolicyStack extends NestedStack {
const lg: LogGroup = new LogGroup(this, "PolicyMangerLogGroup", {
logGroupName: `/aws/lambda/${policyManager.functionName}`,
removalPolicy: RemovalPolicy.DESTROY,
retention: RetentionDays.ONE_WEEK,
retention: RetentionDays.TEN_YEARS,
});

/**
Expand Down
14 changes: 7 additions & 7 deletions source/services/complianceGenerator/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions source/services/complianceGenerator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
"winston": "~3.9.0",
"got": "~11.8.6"
},
"overrides": {
"fast-xml-parser": ">=4.4.1"
},
"jestSonar": {
"reportPath": "coverage"
}
Expand Down
14 changes: 7 additions & 7 deletions source/services/helper/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions source/services/helper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
"ts-jest": "^29.1.0",
"typescript": "^4.0.2"
},
"overrides": {
"fast-xml-parser": ">=4.4.1"
},
"jestSonar": {
"reportPath": "coverage"
}
Expand Down
3 changes: 3 additions & 0 deletions source/services/metricsManager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
"name": "Amazon Web Services",
"url": "https://aws.amazon.com/solutions"
},
"overrides": {
"fast-xml-parser": ">=4.4.1"
},
"license": "Apache-2.0",
"jestSonar": {
"reportPath": "coverage"
Expand Down
Loading