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

Commit 64554b1

Browse files
authored
update to v1.5.1 open-source release (#192)
1 parent 340b984 commit 64554b1

File tree

8 files changed

+24521
-20
lines changed

8 files changed

+24521
-20
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
# misc
2020
**/npm-debug.log
2121
**/testem.log
22-
**/package-lock.json
2322
**/.vscode/settings.json
2423
**/__pycache__
2524
# System Files

CHANGELOG.md

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

7+
## [1.5.1] - 2023-04-13
8+
### Security:
9+
- Enable versioning/encryption on logging bucket
10+
11+
### Bug Fixes:
12+
- Enable Amazon S3 ACLs on logging bucket
13+
- Include package-lock.json to prevent incompatibilities with future package versions
14+
715
## [1.5.0] - 2022-10-17
16+
### New:
817
- Paginated response for list filesystems that allows greater than 10 EFS filesystems to be displayed
918
- AppRegistry Integration
19+
- File manager lambda creation now checks for valid security group rules
20+
21+
### Changes:
22+
- Code refactoring to reduce cognitive complexity
1023
- Buildspec upgrades
1124
- Unit tests to 80% overall coverage
12-
- Code refactoring to reduce cognitive complexity
13-
- File manager lambda creation now checks for valid security group rules
25+
26+
### Documentation:
1427
- Misc documentation
1528

1629
## [1.4.1] - 2022-08-24
30+
### Changes:
1731
- Python version bump to handle 3.6 EOL
1832

1933
## [1.4.0] - 2021-07-08
20-
- General bug fixes
34+
### Changes:
2135
- Code refactoring to support pylint
2236
- cfn-lint / bandit code cleanup
37+
38+
### Bug Fixes:
39+
- General bug fixes
40+
41+
### Documentation:
2342
- Misc documentation
2443

2544
## [1.3.0] - 2021-06-01

deployment/build-s3-dist.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ parse_params() {
8383
# default values of variables set from params
8484
flag=0
8585
param=''
86+
use_solution_builder_pipeline=false
8687

8788
while :; do
8889
case "${1-}" in
@@ -104,6 +105,10 @@ parse_params() {
104105
region="${2}"
105106
shift
106107
;;
108+
--use_solution_builder_pipeline)
109+
use_solution_builder_pipeline=true
110+
shift
111+
;;
107112
-?*) die "Unknown option: $1" ;;
108113
*) break ;;
109114
esac
@@ -127,6 +132,7 @@ msg "- Template bucket: ${global_bucket}"
127132
msg "- Code bucket: ${regional_bucket}-${region}"
128133
msg "- Version: ${version}"
129134
msg "- Region: ${region}"
135+
msg "- Use Solution Builder Pipeline: ${use_solution_builder_pipeline}"
130136

131137

132138
echo ""
@@ -348,9 +354,9 @@ echo "Cleaning up website helper function"
348354
rm -rf ./dist
349355

350356

351-
# Skip copy dist to S3 if building for solution builder because
357+
# Skip copy dist to S3 if building for solution builder or nightswatch because
352358
# that pipeline takes care of copying the dist in another script.
353-
if [ "$global_bucket" != "solutions-features-reference" ] && [ "$global_bucket" != "solutions-reference" ] && [ "$global_bucket" != "solutions-test-reference" ]; then
359+
if [ $use_solution_builder_pipeline = false ]; then
354360

355361
echo "------------------------------------------------------------------------------"
356362
echo "Validate user is valid owner of S3 bucket"

deployment/efs-file-manager-auth.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Resources:
9090
- - index
9191
- .handler
9292
Role: !GetAtt CognitoRoleMapperLambdaExecutionRole.Arn
93-
Runtime: python3.7
93+
Runtime: python3.9
9494
Timeout: 30
9595

9696
CognitoRoleMapperLambdaExecutionRole:

deployment/efs-file-manager-web.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,20 @@ Resources:
4343
reason: "Logs bucket is private and does not require a bucket policy"
4444
Properties:
4545
AccessControl: LogDeliveryWrite
46+
OwnershipControls:
47+
Rules:
48+
- ObjectOwnership: ObjectWriter
49+
BucketEncryption:
50+
ServerSideEncryptionConfiguration:
51+
- ServerSideEncryptionByDefault:
52+
SSEAlgorithm: AES256
53+
VersioningConfiguration:
54+
Status: Enabled
4655

4756
EFSFileSimpleWebsiteBucket:
4857
Type: AWS::S3::Bucket
4958
DeletionPolicy: Retain
5059
Properties:
51-
AccessControl: LogDeliveryWrite
5260
BucketEncryption:
5361
ServerSideEncryptionConfiguration:
5462
- ServerSideEncryptionByDefault:

source/api/chalicelib/file-manager-ap-lambda.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ Resources:
248248
MemorySize: 512
249249
PackageType: "Zip"
250250
Role: !GetAtt ManagedAccessPointFunctionRole.Arn
251-
Runtime: "python3.8"
251+
Runtime: "python3.9"
252252
Timeout: 60
253253
VpcConfig:
254254
SecurityGroupIds:

0 commit comments

Comments
 (0)