Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.

Commit 5b6988d

Browse files
committed
Release 1.1.4
1 parent afae7ca commit 5b6988d

File tree

9 files changed

+37
-5
lines changed

9 files changed

+37
-5
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ 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.1.4] - 2023-05-03
8+
9+
### Changed
10+
- Modified S3 Bucket creation setting S3 ObjectOwnership to `BucketOwnerPreferred` to enable ACLs. [More Information...](https://aws.amazon.com/blogs/aws/heads-up-amazon-s3-security-changes-are-coming-in-april-of-2023/)
11+
- Modifyed S3 Deny policies from S3:Bucket to S3:* on the TLS enforcement IAM permissions as this may set off some compliance alarms.
12+
713
## [1.1.3] - 2023-03-16
814

915
### Changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Voicemail for Amazon Connect
22
This solutions deploys the resources necessary to configure a voicemail system to use with Amazon Connect. See [Solution Architecture](https://aws.amazon.com/solutions/implementations/voicemail-for-amazon-connect/).
33

4+
> Starting in April 2023 Amazon S3 made a change to set the **Bucket Owner Enforced Setting** to be enabled for any newly completed buckets which disables **ACLs**. Since this solution uses Default ACLs, this new default will prevent the CloudFormation stack from deploying. [More Information...](https://aws.amazon.com/blogs/aws/heads-up-amazon-s3-security-changes-are-coming-in-april-of-2023/).
5+
6+
The master and development branches have been updated to account for the recent S3 changes. Updated CloudFormation Templates and deployment instructions can be [found here](https://aws-contact-center-blog.s3.us-west-2.amazonaws.com/voicemail-s3-default-acl-issue/vmv1s3fix.zip)
7+
48
## Development Branch
59
We have added a new branch to this solution: the "development" branch. The "development" branch contains the same solution, but has a simplified build system that removes complexities introduced by the AWS Solution. If you would like to pull down this code to modify it for your own testing, you should use the "development" branch. The "development" branch is where we will accept PRs and continue to build out the Voicemail solution with more functionality based on feedback from users. We will update the "master" branch with changes from the "development" branch twice a year.
610

deployment/aws-connect-vm.template

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2327,6 +2327,13 @@
23272327
"VersioningConfiguration": {
23282328
"Status": "Enabled"
23292329
},
2330+
"OwnershipControls":{
2331+
"Rules": [
2332+
{
2333+
"ObjectOwnership": "BucketOwnerPreferred"
2334+
}
2335+
]
2336+
},
23302337
"PublicAccessBlockConfiguration": {
23312338
"BlockPublicAcls": true,
23322339
"BlockPublicPolicy": true,
@@ -3622,7 +3629,7 @@
36223629
{
36233630
"Effect": "Deny",
36243631
"Principal": "*",
3625-
"Action": "s3:GetObject",
3632+
"Action": "s3:*",
36263633
"Resource": {
36273634
"Fn::Sub": "arn:aws:s3:::${AudioRecordingsBucket}/*"
36283635
},

deployment/cloudfront.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Resources:
7575
Resource: !Sub 'arn:aws:s3:::${PortalBucket}/*'
7676
Principal:
7777
CanonicalUser: !GetAtt CloudFrontOriginAccessIdentity.S3CanonicalUserId
78-
- Action: "s3:GetObject"
78+
- Action: "s3:*"
7979
Effect: Deny
8080
Resource: !Sub 'arn:aws:s3:::${PortalBucket}/*'
8181
Principal: "*"

deployment/copy-artifacts.template

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ Resources:
5252
Tags: []
5353
VersioningConfiguration:
5454
Status: Enabled
55+
OwnershipControls:
56+
Rules:
57+
- ObjectOwnership: BucketOwnerPreferred
5558
PublicAccessBlockConfiguration:
5659
BlockPublicAcls: True
5760
BlockPublicPolicy: True
@@ -77,7 +80,7 @@ Resources:
7780
Resource: !Sub 'arn:aws:s3:::${LambdaArtifactsBucket}/*'
7881
Principal:
7982
AWS: !Sub '${AWS::AccountId}'
80-
- Action: "s3:GetObject"
83+
- Action: "s3:*"
8184
Effect: Deny
8285
Resource: !Sub 'arn:aws:s3:::${LambdaArtifactsBucket}/*'
8386
Principal: "*"

deployment/voicemail-for-amazon-connect.template

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,9 @@ Resources:
276276
PortalBucket:
277277
Type: AWS::S3::Bucket
278278
Properties:
279+
OwnershipControls:
280+
Rules:
281+
- ObjectOwnership: BucketOwnerPreferred
279282
PublicAccessBlockConfiguration:
280283
BlockPublicAcls: True
281284
BlockPublicPolicy: True
@@ -306,7 +309,7 @@ Resources:
306309
PolicyDocument:
307310
Statement:
308311
- Action:
309-
- "s3:GetObject"
312+
- "s3:*"
310313
Effect: "Deny"
311314
Resource: !Sub 'arn:aws:s3:::${VoicemailAccessLogBucket}/*'
312315
Principal: "*"
@@ -318,6 +321,9 @@ Resources:
318321
Type: AWS::S3::Bucket
319322
Properties:
320323
AccessControl: "LogDeliveryWrite"
324+
OwnershipControls:
325+
Rules:
326+
- ObjectOwnership: BucketOwnerPreferred
321327
PublicAccessBlockConfiguration:
322328
BlockPublicAcls: True
323329
BlockPublicPolicy: True

source/aws-connect-vm-portal/templates/cloudfront.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ Resources:
2929
PortalBucket:
3030
Type: AWS::S3::Bucket
3131
Properties:
32+
OwnershipControls:
33+
Rules:
34+
- ObjectOwnership: BucketOwnerPreferred
3235
PublicAccessBlockConfiguration:
3336
BlockPublicAcls: True
3437
BlockPublicPolicy: True

source/aws-connect-vm-serverless/serverless.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,9 @@ resources:
470470
AccessControl: LogDeliveryWrite
471471
VersioningConfiguration:
472472
Status: Enabled
473+
OwnershipControls:
474+
Rules:
475+
- ObjectOwnership: BucketOwnerPreferred
473476
PublicAccessBlockConfiguration:
474477
BlockPublicAcls: True
475478
BlockPublicPolicy: True

source/tools/transform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def transform_template(template, save_path, lambda_zip_key, lambda_jar_key):
158158
{
159159
"Effect": "Deny",
160160
"Principal": "*",
161-
"Action": "s3:GetObject",
161+
"Action": "s3:*",
162162
"Resource": {
163163
"Fn::Sub": "arn:aws:s3:::${AudioRecordingsBucket}/*"
164164
},

0 commit comments

Comments
 (0)