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

Commit f078306

Browse files
committed
update to v1.5.3 open-source release
1 parent 2aa7055 commit f078306

File tree

11 files changed

+106
-80
lines changed

11 files changed

+106
-80
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ 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.3] - 2023-09-20
8+
### Bug Fixes:
9+
- Merge Website Bucket policy statements to prevent deployment failures on policy creation slowdowns
10+
- Remove uneeded exit in Unit test script
11+
- Added downline dependencies to NOTICE.txt
12+
13+
### Security:
14+
- Upgrade Node version to 18
15+
- Upgrade Python runtime to 3.11
16+
- Update NPM packages to fix vulnerabilities
17+
718
## [1.5.2] - 2023-05-19
819
### Bug Fixes:
920
- elasticfilesystem:TagResource permission added to Manager Lambda

NOTICE.txt

Lines changed: 41 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,50 @@ THIRD PARTY COMPONENTS
1313
This software includes third party software subject to the following copyrights:
1414

1515
AWS SDK under the Apache License Version 2.0
16-
Pytest under the MIT License (MIT)
17-
Selenium under the Apache License Version 2.0
18-
Boto3 under the Apache License Version 2.0
1916
Pyyaml under the MIT License (MIT)
20-
Requests_toolbelt under the Apache License Version 2.0
2117
Urllib3 under the the MIT License (MIT)
22-
Aws-amplify under the Apache License Version 2.0
23-
Aws-amplify-vue under the Apache License Version 2.0
24-
Bootstrap under the MIT License (MIT)
25-
Bootstrap-vue under the MIT License (MIT)
26-
Core-js under the MIT License (MIT)
2718
Vue under the MIT License (MIT)
2819
vue-router under the MIT License (MIT)
2920
vue-stepper-component under the MIT License (MIT)
3021
vue2-dropzone under the MIT License (MIT)
31-
webpack under the MIT License (MIT)
22+
webpack under the MIT License (MIT)
23+
PySocks under the BSD-3-Clause License
24+
attrs under the MIT License (MIT)
25+
blessed under the MIT License (MIT)
26+
boolean.py under the BSD-2-Clause license
27+
boto3 under the Apache License Version 2.0
28+
botocore under the Apache License Version 2.0
29+
chalice under the Apache License Version 2.0
30+
click under the BSD-3-Clause license
31+
coverage under the Apache License Version 2.0
32+
exceptiongroup under the MIT License (MIT)
33+
h11 under the MIT License (MIT)
34+
iniconfig under the MIT License (MIT)
35+
inquirer under the MIT License (MIT)
36+
jmespath under the MIT License (MIT)
37+
license-expression under the Apache License Version 2.0
38+
outcome under the Apache License Version 2.0
39+
pluggy under the MIT License (MIT)
40+
pytest under the MIT License (MIT)
41+
pytest-cov under the MIT License (MIT)
42+
pytest-mock under the MIT License (MIT)
43+
python-dateutil under the Apache Software License
44+
python-editor under the Apache Software License
45+
readchar under the MIT License (MIT)
46+
requests-toolbelt under the Apache License Version 2.0
47+
s3transfer under the Apache License Version 2.0
48+
selenium under the Apache License Version 2.0
49+
sniffio under the Apache License Version 2.0
50+
tomli under the MIT License (MIT)
51+
trio under the Apache License Version 2.0
52+
trio-websocket under the MIT License (MIT)
53+
typing_extensions under the Python Software Foundation License
54+
wsproto under the MIT License (MIT)
55+
@aws-amplify/api under the Apache License Version 2.0
56+
@aws-amplify/core under the Apache License Version 2.0
57+
aws-amplify under the Apache License Version 2.0
58+
aws-amplify-vue under the Apache License Version 2.0
59+
aws-sdk under the Apache License Version 2.0
60+
bootstrap under the MIT License (MIT)
61+
bootstrap-vue under the MIT License (MIT)
62+
core-js under the MIT License (MIT)

deployment/build-s3-dist.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ chalice --debug package --merge-template external_resources.json dist
274274
echo "...chalice done"
275275
echo "cp ./dist/sam.json $global_dist_dir/file-manager-api-stack.template"
276276
cp dist/sam.json "$global_dist_dir"/file-manager-api-stack.template
277+
sed -i.orig -e "$new_version" "$global_dist_dir/file-manager-api-stack.template"
277278
if [ $? -ne 0 ]; then
278279
echo "ERROR: Failed to build api template"
279280
exit 1

deployment/efs-file-manager-auth.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# express or implied. See the License for the specific language governing
1212
# permissions and limitations under the License.
1313
AWSTemplateFormatVersion: "2010-09-09"
14-
Description: (SO0145) Simple File Manager for Amazon EFS Solution Auth %%VERSION%%
14+
Description: (SO0145) Simple File Manager for Amazon EFS Solution Auth %%VERSION%%
1515

1616
Parameters:
1717
AdminEmail:
@@ -90,7 +90,7 @@ Resources:
9090
- - index
9191
- .handler
9292
Role: !GetAtt CognitoRoleMapperLambdaExecutionRole.Arn
93-
Runtime: python3.9
93+
Runtime: python3.11
9494
Timeout: 30
9595

9696
CognitoRoleMapperLambdaExecutionRole:

deployment/efs-file-manager-web.yaml

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# express or implied. See the License for the specific language governing
1212
# permissions and limitations under the License.
1313
AWSTemplateFormatVersion: "2010-09-09"
14-
Description: (SO0145) Simple File Manager for Amazon EFS Solution Web %%VERSION%%
14+
Description: (SO0145) Simple File Manager for Amazon EFS Solution Web %%VERSION%%
1515

1616
Parameters:
1717
FileManagerAPIEndpoint:
@@ -34,6 +34,7 @@ Mappings:
3434
Resources:
3535
EFSFileSimpleLoggingBucket:
3636
Type: 'AWS::S3::Bucket'
37+
DeletionPolicy: Retain
3738
Metadata:
3839
cfn_nag:
3940
rules_to_suppress:
@@ -82,20 +83,6 @@ Resources:
8283
AbortIncompleteMultipartUpload:
8384
DaysAfterInitiation: 1
8485

85-
WebBucketPolicy:
86-
Type: AWS::S3::BucketPolicy
87-
Properties:
88-
Bucket: !Ref EFSFileSimpleWebsiteBucket
89-
PolicyDocument:
90-
Statement:
91-
- Effect: Deny
92-
Principal: "*"
93-
Action: "*"
94-
Resource: !Sub "arn:aws:s3:::${EFSFileSimpleWebsiteBucket}/*"
95-
Condition:
96-
Bool:
97-
aws:SecureTransport: false
98-
9986
CopyWebSource:
10087
Type: Custom::WebsiteDeployHelper
10188
Properties:
@@ -130,6 +117,13 @@ Resources:
130117
- !Sub "arn:aws:s3:::${EFSFileSimpleWebsiteBucket}/*"
131118
Principal:
132119
CanonicalUser: !GetAtt EFSFileSimpleOriginAccessIdentity.S3CanonicalUserId
120+
- Effect: Deny
121+
Principal: "*"
122+
Action: "*"
123+
Resource: !Sub "arn:aws:s3:::${EFSFileSimpleWebsiteBucket}/*"
124+
Condition:
125+
Bool:
126+
aws:SecureTransport: false
133127

134128
EFSFileSimpleWebsiteDistribution:
135129
Type: AWS::CloudFront::Distribution
@@ -252,7 +246,7 @@ Resources:
252246
Handler: website_helper.lambda_handler
253247
MemorySize: 256
254248
Role: !GetAtt WebsiteHelperRole.Arn
255-
Runtime: python3.9
249+
Runtime: python3.11
256250
Timeout: 900
257251
Environment:
258252
Variables:

deployment/simple-file-manager-for-amazon-efs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# author: aws-solutions-builder@
1717
AWSTemplateFormatVersion: 2010-09-09
1818

19-
Description: (SO0145) Simple File Manager for Amazon EFS Solution Main %%VERSION%%
19+
Description: (SO0145) Simple File Manager for Amazon EFS Solution Main %%VERSION%%
2020

2121
Parameters:
2222
AdminEmail:

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.9"
251+
Runtime: "python3.11"
252252
Timeout: 60
253253
VpcConfig:
254254
SecurityGroupIds:

source/api/external_resources.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"Description": "(SO0145) Simple File Manager for Amazon EFS Solution Auth %%VERSION%%",
23
"Parameters": {
34
"DeploymentPackageBucket": {
45
"Type": "String",

source/web/package-lock.json

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

source/web/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"name": "web",
33
"version": "0.1.0",
4+
"license": "Apache-2.0",
5+
"description": "Simple File Manager for Amazon EFS Frontend",
46
"private": true,
57
"scripts": {
68
"serve": "vue-cli-service serve",
@@ -52,9 +54,9 @@
5254
"not dead"
5355
],
5456
"overrides": {
55-
"fast-xml-parser": "4.2.4"
57+
"fast-xml-parser": "4.2.5"
5658
},
5759
"resolutions": {
58-
"fast-xml-parser": "4.2.4"
60+
"fast-xml-parser": "4.2.5"
5961
}
6062
}

0 commit comments

Comments
 (0)