File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
aws_sra_examples/solutions/guardduty/guardduty_org/templates Expand file tree Collapse file tree 1 file changed +6
-7
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
@@ -189,8 +189,8 @@ Resources:
189
189
Condition :
190
190
StringLike :
191
191
aws:PrincipalServiceName : guardduty.*.amazonaws.com
192
- StringNotEquals :
193
- s3:x-amz-server-side-encryption : aws:kms
192
+ # StringNotEquals:
193
+ # s3:x-amz-server-side-encryption: aws:kms
194
194
195
195
- Sid : DenyIncorrectEncryptionHeader
196
196
Effect : Deny
@@ -207,14 +207,13 @@ Resources:
207
207
- Sid : DenyIncorrectEncryptionHeaderOptinRegions
208
208
Effect : Deny
209
209
Action : s3:PutObject
210
- Condition :
211
- StringNotEquals :
212
- s3:x-amz-server-side-encryption-aws-kms-key-id : !Sub ${pGuardDutyOrgDeliveryKMSKeyArn}
213
210
Resource : !Sub arn:aws:s3:::${rGuardDutyDeliveryS3Bucket}/*
214
211
Principal : ' *'
215
212
Condition :
216
213
StringLike :
217
214
aws:PrincipalServiceName : guardduty.*.amazonaws.com
215
+ # StringNotEquals:
216
+ # s3:x-amz-server-side-encryption-aws-kms-key-id: !Sub ${pGuardDutyOrgDeliveryKMSKeyArn}
218
217
219
218
220
219
Outputs :
You can’t perform that action at this time.
0 commit comments