Skip to content

Commit 75167cd

Browse files
committed
fix checkov warning
1 parent 4686714 commit 75167cd

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,11 @@ Resources:
543543
Runtime: python3.13
544544
FunctionName: !Sub ${ResourcePrefix}analytics-Lambda
545545
Description: "Lambda function to collect general deployment metrics"
546+
Metadata:
547+
checkov:
548+
skip:
549+
- id: CKV_AWS_363
550+
comment: "Using latest available Python runtime"
546551
Handler: index.lambda_handler
547552
MemorySize: 128
548553
Role: !GetAtt LambdaAnalyticsRole.Arn

data-collection/deploy/deploy-in-linked-account.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ Resources:
228228
Statement:
229229
- Effect: "Allow"
230230
Action:
231-
- "budgets:ViewBudget"
231+
- "budgets:DescribeBudgets"
232232
- "budgets:ListTagsForResource"
233233
Resource: !Sub "arn:${AWS::Partition}:budgets::${AWS::AccountId}:budget/*"
234234
Roles:

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)