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

Commit 9d64fb3

Browse files
authored
Merge pull request #64 from aws-solutions/release/v1.0.9
Upgrade to v1.0.9
2 parents 3274521 + 8495a19 commit 9d64fb3

15 files changed

+461
-43
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,19 @@ 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+
## [1.0.9] - 2025-02-20
9+
10+
### Changed
11+
12+
- Upgraded lambda runtimes to NodeJS 20
13+
814
## [1.0.8] - 2024-11-27
915

1016
### Changed
1117

1218
- Updated dependencies to address cross-spawn CVE-2024-21538
1319

14-
## [1.0.7] - 2024-08
20+
## [1.0.7] - 2024-08-19
1521

1622
- Upgrade `axios` to mitigate [CVE-2024-39338](https://nvd.nist.gov/vuln/detail/CVE-2024-39338)
1723

NOTICE.txt

Lines changed: 408 additions & 1 deletion
Large diffs are not rendered by default.

SECURITY.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
Reporting Security Issues
2-
-------------------------------------------------------------------------------------------------------------------------------------------------
3-
We take all security reports seriously. When we receive such reports, we will investigate and
4-
subsequently address any potential vulnerabilities as quickly as possible. If you discover a potential
5-
security issue in this project, please notify AWS/Amazon Security via
6-
our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/) or
7-
directly via email to [AWS Security](mailto:[email protected]). Please do not create a public GitHub issue in this
8-
project.
1+
## Reporting Security Issues
2+
3+
We take all security reports seriously. When we receive such reports,
4+
we will investigate and subsequently address any potential vulnerabilities as
5+
quickly as possible. If you discover a potential security issue in this project,
6+
please notify AWS/Amazon Security via our [vulnerability reporting page]
7+
(http://aws.amazon.com/security/vulnerability-reporting/) or directly via email
8+
to [AWS Security](mailto:[email protected]).
9+
Please do *not* create a public GitHub issue in this project.

deployment/cognito-user-profiles-export-reference-architecture.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Resources:
115115
S3Key: !Join ["/", [!FindInMap ["Solution", "Config", "S3KeyPrefix"], "custom-resources.zip"]]
116116
Handler: "custom-resources/global-table-creator.handler"
117117
Role: !GetAtt GlobalTableCreatorRole.Arn
118-
Runtime: nodejs18.x
118+
Runtime: nodejs20.x
119119
Timeout: 120
120120
MemorySize: 128
121121
Environment:
@@ -216,7 +216,7 @@ Resources:
216216
S3Key: !Join ["/", [!FindInMap ["Solution", "Config", "S3KeyPrefix"], "custom-resources.zip"]]
217217
Handler: "custom-resources/global-table-checker.handler"
218218
Role: !GetAtt GlobalTableCheckerRole.Arn
219-
Runtime: nodejs18.x
219+
Runtime: nodejs20.x
220220
Timeout: 300
221221
MemorySize: 128
222222
Environment:
@@ -372,7 +372,7 @@ Resources:
372372
S3Key: !Join ["/", [!FindInMap ["Solution", "Config", "S3KeyPrefix"], "custom-resources.zip"]]
373373
Handler: "custom-resources/stack-checker.handler"
374374
Role: !GetAtt StackCheckerCustomResourceLambdaRole.Arn
375-
Runtime: nodejs18.x
375+
Runtime: nodejs20.x
376376
Timeout: 120
377377
MemorySize: 128
378378
Environment:
@@ -468,7 +468,7 @@ Resources:
468468
S3Key: !Join ["/", [!FindInMap ["Solution", "Config", "S3KeyPrefix"], "custom-resources.zip"]]
469469
Handler: "custom-resources/solution-constants.handler"
470470
Role: !GetAtt SolutionConstantsCustomResourceLambdaRole.Arn
471-
Runtime: nodejs18.x
471+
Runtime: nodejs20.x
472472
Timeout: 60
473473
MemorySize: 128
474474
Environment:
@@ -532,7 +532,7 @@ Resources:
532532
S3Key: !Join ["/", [!FindInMap ["Solution", "Config", "S3KeyPrefix"], "custom-resources.zip"]]
533533
Handler: "custom-resources/stackset-manager.handler"
534534
Role: !GetAtt StackSetManagerCustomResourceLambdaRole.Arn
535-
Runtime: nodejs18.x
535+
Runtime: nodejs20.x
536536
Timeout: 300
537537
MemorySize: 128
538538
Environment:
@@ -831,7 +831,7 @@ Resources:
831831
S3Key: !Join ["/", [!FindInMap ["Solution", "Config", "S3KeyPrefix"], "custom-resources.zip"]]
832832
Handler: "custom-resources/check-stackset-status.handler"
833833
Role: !GetAtt StackSetCheckStatusLambdaRole.Arn
834-
Runtime: nodejs18.x
834+
Runtime: nodejs20.x
835835
Timeout: 300
836836
MemorySize: 128
837837
Environment:

deployment/stack-set-template.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Resources:
107107
S3Key: !Join ["/", [!FindInMap ["Solution", "Config", "S3KeyPrefix"], "custom-resources.zip"]]
108108
Handler: "custom-resources/stackset-constants.handler"
109109
Role: !GetAtt StackSetConstantsCustomResourceLambdaRole.Arn
110-
Runtime: nodejs18.x
110+
Runtime: nodejs20.x
111111
Timeout: 60
112112
MemorySize: 128
113113
Environment:
@@ -707,7 +707,7 @@ Resources:
707707
S3Key: !Join ["/", [!FindInMap ["Solution", "Config", "S3KeyPrefix"], "workflow-common.zip"]]
708708
Handler: "workflow-common/check-workflow-queues.handler"
709709
Role: !GetAtt CheckWorkflowQueuesLambdaRole.Arn
710-
Runtime: nodejs18.x
710+
Runtime: nodejs20.x
711711
Timeout: 60
712712
MemorySize: 128
713713
Environment:
@@ -776,7 +776,7 @@ Resources:
776776
S3Key: !Join ["/", [!FindInMap ["Solution", "Config", "S3KeyPrefix"], "workflow-import.zip"]]
777777
Handler: "workflow-import/check-new-user-pool.handler"
778778
Role: !GetAtt ImportCheckNewUserPoolLambdaRole.Arn
779-
Runtime: nodejs18.x
779+
Runtime: nodejs20.x
780780
Timeout: 60
781781
MemorySize: 128
782782
Environment:
@@ -843,7 +843,7 @@ Resources:
843843
S3Key: !Join ["/", [!FindInMap ["Solution", "Config", "S3KeyPrefix"], "workflow-import.zip"]]
844844
Handler: "workflow-import/scan-table.handler"
845845
Role: !GetAtt ImportScanTableLambdaRole.Arn
846-
Runtime: nodejs18.x
846+
Runtime: nodejs20.x
847847
Timeout: 300
848848
MemorySize: 128
849849
Environment:
@@ -964,7 +964,7 @@ Resources:
964964
S3Key: !Join ["/", [!FindInMap ["Solution", "Config", "S3KeyPrefix"], "workflow-import.zip"]]
965965
Handler: "workflow-import/import-users.handler"
966966
Role: !GetAtt ImportNewUsersLambdaRole.Arn
967-
Runtime: nodejs18.x
967+
Runtime: nodejs20.x
968968
Timeout: 900
969969
MemorySize: 1024 # Higher memory size to allow for large CSV files to be uploaded to the Cognito User Import Job
970970
Environment:
@@ -1077,7 +1077,7 @@ Resources:
10771077
S3Key: !Join ["/", [!FindInMap ["Solution", "Config", "S3KeyPrefix"], "workflow-import.zip"]]
10781078
Handler: "workflow-import/import-users.handler"
10791079
Role: !GetAtt ImportCheckImportJobLambdaRole.Arn
1080-
Runtime: nodejs18.x
1080+
Runtime: nodejs20.x
10811081
Timeout: 60
10821082
MemorySize: 128
10831083
Environment:
@@ -1164,7 +1164,7 @@ Resources:
11641164
S3Key: !Join ["/", [!FindInMap ["Solution", "Config", "S3KeyPrefix"], "workflow-import.zip"]]
11651165
Handler: "workflow-import/update-new-users.handler"
11661166
Role: !GetAtt ImportUpdateNewUsersLambdaRole.Arn
1167-
Runtime: nodejs18.x
1167+
Runtime: nodejs20.x
11681168
Timeout: 900
11691169
MemorySize: 128
11701170
Environment:
@@ -1274,7 +1274,7 @@ Resources:
12741274
Code:
12751275
S3Bucket: !Join ["-", [!FindInMap ["Solution", "Config", "S3BucketPrefix"], Ref: "AWS::Region"]]
12761276
S3Key: !Join ["/", [!FindInMap ["Solution", "Config", "S3KeyPrefix"], "workflow-common.zip"]]
1277-
Runtime: nodejs18.x
1277+
Runtime: nodejs20.x
12781278
Timeout: 300
12791279
Environment:
12801280
Variables:
@@ -1480,7 +1480,7 @@ Resources:
14801480
Code:
14811481
S3Bucket: !Join ["-", [!FindInMap ["Solution", "Config", "S3BucketPrefix"], Ref: "AWS::Region"]]
14821482
S3Key: !Join ["/", [!FindInMap ["Solution", "Config", "S3KeyPrefix"], "workflow-common.zip"]]
1483-
Runtime: nodejs18.x
1483+
Runtime: nodejs20.x
14841484
Timeout: 300
14851485
Environment:
14861486
Variables:
@@ -2005,7 +2005,7 @@ Resources:
20052005
S3Key: !Join ["/", [!FindInMap ["Solution", "Config", "S3KeyPrefix"], "workflow-export.zip"]]
20062006
Handler: "workflow-export/export-users.handler"
20072007
Role: !GetAtt ExportUsersLambdaRole.Arn
2008-
Runtime: nodejs18.x
2008+
Runtime: nodejs20.x
20092009
Timeout: 900
20102010
MemorySize: 128
20112011
Environment:
@@ -2083,7 +2083,7 @@ Resources:
20832083
Code:
20842084
S3Bucket: !Join ["-", [!FindInMap ["Solution", "Config", "S3BucketPrefix"], Ref: "AWS::Region"]]
20852085
S3Key: !Join ["/", [!FindInMap ["Solution", "Config", "S3KeyPrefix"], "workflow-export.zip"]]
2086-
Runtime: nodejs18.x
2086+
Runtime: nodejs20.x
20872087
Timeout: 300
20882088
Environment:
20892089
Variables:
@@ -2146,7 +2146,7 @@ Resources:
21462146
Code:
21472147
S3Bucket: !Join ["-", [!FindInMap ["Solution", "Config", "S3BucketPrefix"], Ref: "AWS::Region"]]
21482148
S3Key: !Join ["/", [!FindInMap ["Solution", "Config", "S3KeyPrefix"], "workflow-export.zip"]]
2149-
Runtime: nodejs18.x
2149+
Runtime: nodejs20.x
21502150
Timeout: 300
21512151
Environment:
21522152
Variables:
@@ -2210,7 +2210,7 @@ Resources:
22102210
Code:
22112211
S3Bucket: !Join ["-", [!FindInMap ["Solution", "Config", "S3BucketPrefix"], Ref: "AWS::Region"]]
22122212
S3Key: !Join ["/", [!FindInMap ["Solution", "Config", "S3KeyPrefix"], "workflow-export.zip"]]
2213-
Runtime: nodejs18.x
2213+
Runtime: nodejs20.x
22142214
Timeout: 300
22152215
Environment:
22162216
Variables:
@@ -2279,7 +2279,7 @@ Resources:
22792279
Code:
22802280
S3Bucket: !Join ["-", [!FindInMap ["Solution", "Config", "S3BucketPrefix"], Ref: "AWS::Region"]]
22812281
S3Key: !Join ["/", [!FindInMap ["Solution", "Config", "S3KeyPrefix"], "workflow-export.zip"]]
2282-
Runtime: nodejs18.x
2282+
Runtime: nodejs20.x
22832283
Timeout: 300
22842284
Environment:
22852285
Variables:
@@ -2371,7 +2371,7 @@ Resources:
23712371
Code:
23722372
S3Bucket: !Join ["-", [!FindInMap ["Solution", "Config", "S3BucketPrefix"], Ref: "AWS::Region"]]
23732373
S3Key: !Join ["/", [!FindInMap ["Solution", "Config", "S3KeyPrefix"], "workflow-export.zip"]]
2374-
Runtime: nodejs18.x
2374+
Runtime: nodejs20.x
23752375
Timeout: 300
23762376
Environment:
23772377
Variables:

source/utils/custom-resource-helper-functions.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
13
const axios = require('axios');
24

35
/**

source/utils/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "utils",
3-
"version": "1.0.8",
3+
"version": "1.0.9",
44
"description": "Custom Resource Helper functions",
55
"scripts": {
66
"clean": "rm -rf dist/ node_modules/ coverage/",

source/utils/test/setEnvironmentVariables.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
13
process.env.SOLUTION_ID = 'SOMOCK';
24
process.env.SOLUTION_VERSION = 'v1.0.0';
35
process.env.METRICS_ANONYMOUS_UUID = 'uuid';

source/workflow-common/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)