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

Commit 56eea99

Browse files
committed
updates for release v1.0.5
1 parent 04bae9c commit 56eea99

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ 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.5] - 2024-03-05
9+
10+
### Updated
11+
12+
- Library upgrades to address security vulnerability related to `node-ip` (CVE-2023-42282)[https://github.com/advisories/GHSA-78xj-cgh5-2h22]
13+
- Add dependency between Amazon S3 bucket creation and S3 bucket policy to reduce failures with `Fn::GetAtt` when retrieving bucket arn to create bucket policy
14+
815
## [1.0.4] - 2024-01-11
916

1017
### Updated

source/infrastructure/lib/s3web/static-site.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@ export class StaticWebsite extends Construct {
9797

9898
const cloudFrontLogsLoggingPrefix = 'cloudfrontlogs-logging';
9999

100+
this.webS3Bucket.policy?.node.addDependency(cloudfrontToS3.cloudFrontWebDistribution);
101+
cloudfrontToS3.cloudFrontLoggingBucket?.node
102+
.tryFindChild('Policy')
103+
?.node.tryFindChild('Resource')
104+
?.node?.addDependency(cloudfrontToS3.cloudFrontLoggingBucket);
105+
100106
const bucketPolicyUpdateCustomResource = new cdk.CustomResource(this, 'UpdateBucketPolicy', {
101107
resourceType: 'Custom::UpdateBucketPolicy',
102108
serviceToken: props.customResourceLambdaArn,

source/ui/package-lock.json

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

0 commit comments

Comments
 (0)