File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
aws_sra_examples/solutions/guardduty/guardduty_org/templates Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -166,8 +166,8 @@ Resources:
166
166
Condition :
167
167
StringLike :
168
168
aws:PrincipalServiceName : guardduty.*.amazonaws.com
169
- # StringEquals:
170
- # s3:x-amz-acl: bucket-owner-full-control
169
+ StringEquals :
170
+ s3:x-amz-acl : bucket-owner-full-control
171
171
172
172
- Sid : DenyUnencryptedObjectUploads
173
173
Effect : Deny
@@ -184,14 +184,13 @@ Resources:
184
184
- Sid : DenyUnencryptedObjectUploadsOptinRegions
185
185
Effect : Deny
186
186
Action : s3:PutObject
187
- Condition :
188
- StringNotEquals :
189
- s3:x-amz-server-side-encryption : aws:kms
190
187
Resource : !Sub arn:aws:s3:::${rGuardDutyDeliveryS3Bucket}/*
191
188
Principal : ' *'
192
189
Condition :
193
190
StringLike :
194
191
aws:PrincipalServiceName : guardduty.*.amazonaws.com
192
+ StringNotEquals :
193
+ s3:x-amz-server-side-encryption : aws:kms
195
194
196
195
- Sid : DenyIncorrectEncryptionHeader
197
196
Effect : Deny
You can’t perform that action at this time.
0 commit comments