Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

fix: encrypt logs for new Lambda fns #574

Merged
merged 1 commit into from
Feb 22, 2022
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions cloudformation/subscriptions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@ Resources:

RestHookLambdaRole:
Type: AWS::IAM::Role
Metadata:
cfn_nag:
rules_to_suppress:
- id: W11
reason: '* only applies to X-Ray statement which does not define a group or sampling-rule'
Properties:
AssumeRolePolicyDocument:
Version: '2012-10-17'
Expand Down
15 changes: 15 additions & 0 deletions serverless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,21 @@ resources:
KmsKeyId: !GetAtt LogKMSKey.Arn
DependsOn:
- LogKMSKey
SubscriptionsMatcherLogGroup:
Properties:
KmsKeyId: !GetAtt LogKMSKey.Arn
DependsOn:
- LogKMSKey
SubscriptionReaperLogGroup:
Properties:
KmsKeyId: !GetAtt LogKMSKey.Arn
DependsOn:
- LogKMSKey
SubscriptionsRestHookLogGroup:
Properties:
KmsKeyId: !GetAtt LogKMSKey.Arn
DependsOn:
- LogKMSKey
ApiGatewayMethodMetadataGet:
Metadata:
cfn_nag:
Expand Down