Skip to content
This repository was archived by the owner on Aug 30, 2023. It is now read-only.

disallow non-secure transport on the base web endpoint #40

Merged
merged 1 commit into from
Sep 17, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion deployment/aws-content-analysis-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ Resources:
- Effect: Deny
Principal: "*"
Action: "*"
Resource: !Sub "arn:aws:s3:::${ContentAnalysisWebsiteBucket}/*"
Resource:
- !Sub "arn:aws:s3:::${ContentAnalysisWebsiteBucket}/*"
- !Sub "arn:aws:s3:::${ContentAnalysisWebsiteBucket}"
Condition:
Bool:
aws:SecureTransport: false
Expand Down