Skip to content

Commit

Permalink
S3 HTTPS bucket policy requirements are now properly enforced. (#186)
Browse files Browse the repository at this point in the history
* fix s3 https bucket policy requirements

* Update templates/apiary-bucket-policy.json

Co-authored-by: Scott Barnhart <[email protected]>

Co-authored-by: rpoluri <[email protected]>
Co-authored-by: Scott Barnhart <[email protected]>
  • Loading branch information
3 people authored Mar 2, 2021
1 parent 4d5b9b1 commit eae54cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [6.7.5] - 2021-03-01
### Fixed
- S3 HTTPS bucket policy requirements are now properly enforced.

## [6.7.4] - 2021-03-01
### Changed
- Only publish S3 Create events to managed logs SQS queue.
Expand Down
5 changes: 4 additions & 1 deletion templates/apiary-bucket-policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@
"AWS": "*"
},
"Action": "s3:*",
"Resource": "arn:aws:s3:::${bucket_name}",
"Resource": [
"arn:aws:s3:::${bucket_name}",
"arn:aws:s3:::${bucket_name}/*"
],
"Condition": {
"Bool": {
"aws:SecureTransport": "false"
Expand Down

0 comments on commit eae54cf

Please sign in to comment.