Skip to content

Commit

Permalink
specify encryption procotol
Browse files Browse the repository at this point in the history
  • Loading branch information
ab77 committed Feb 12, 2024
1 parent 4c755b3 commit 4df0477
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion security/cloudtrail.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,10 @@ Resources:
Resource: !If [HasLogFilePrefix, !Sub 'arn:aws:s3:::${TrailBucket}/${LogFilePrefix}/AWSLogs/${AWS::AccountId}/*', !Sub 'arn:aws:s3:::${TrailBucket}/AWSLogs/${AWS::AccountId}/*']
Condition:
StringNotEquals:
's3:x-amz-server-side-encryption': ''
's3:x-amz-server-side-encryption': [
'AES256',
'aws:kms'
],

Check failure on line 230 in security/cloudtrail.yaml

View workflow job for this annotation

GitHub Actions / lint

230:18 syntax error: expected <block end>, but found ',' (syntax)
's3:x-amz-server-side-encryption-aws-kms-key-id': {'Fn::ImportValue': !Sub '${ParentKmsKeyStack}-KeyArn'}
- !Ref 'AWS::NoValue'
TrailLogGroup:
Expand Down

0 comments on commit 4df0477

Please sign in to comment.