Skip to content

Commit a03a855

Browse files
authored
Merge pull request #407 from aws-solutions-library-samples/fix-lint-checkov-2
fix checkov warning
2 parents 8835f92 + fd7500c commit a03a855

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

data-collection/deploy/deploy-data-collection.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,11 @@ Resources:
573573
except Exception as exc:
574574
print(f"Exception occurred: {exc}")
575575
cfnresponse.send(event, context, cfnresponse.SUCCESS, {'Reason': 'success'})
576-
576+
Metadata:
577+
checkov:
578+
skip:
579+
- id: CKV_AWS_363
580+
comment: "Using latest available Python runtime"
577581
LambdaInitRole: #Execution role for the custom resource for Init Lambda
578582
Type: AWS::IAM::Role
579583
Properties:

data-collection/deploy/module-backup.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,11 @@ Resources:
276276
Properties:
277277
LogGroupName: !Sub "/aws/lambda/${LambdaFunction}"
278278
RetentionInDays: 60
279+
Metadata:
280+
checkov:
281+
skip:
282+
- id: CKV_AWS_158
283+
comment: "Using default AWS managed encryption for cost optimization"
279284

280285
'Fn::ForEach::Object':
281286
- AwsObject

0 commit comments

Comments
 (0)