You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: notebooks/examples/demo-lambda/template.yml
+19Lines changed: 19 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,19 @@ Resources:
23
23
24
24
DemoLambdaFunction:
25
25
Type: AWS::Serverless::Function
26
+
Metadata:
27
+
cfn_nag:
28
+
rules_to_suppress:
29
+
- id: W89
30
+
reason: "Demo function - does not require VPC access"
31
+
- id: W92
32
+
reason: "Demo function - does not require reserved concurrency as it scales based on demand"
33
+
- id: W58
34
+
reason: "Demo function - DLQ not required"
35
+
# checkov:skip=CKV_AWS_116: "DLQ not required for AppSync resolver function as GraphQL handles retries"
36
+
# checkov:skip=CKV_AWS_117: "Function does not require VPC access as it only interacts with AWS services via APIs"
37
+
# checkov:skip=CKV_AWS_115: "Function does not require reserved concurrency as it scales based on demand"
38
+
# checkov:skip=CKV_AWS_173: "Environment variables do not contain sensitive data - only configuration values like feature flags and non-sensitive settings"
Copy file name to clipboardExpand all lines: template.yaml
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3548,6 +3548,10 @@ Resources:
3548
3548
reason: "Function does not require VPC access as it only interacts with AWS services via APIs"
3549
3549
- id: W92
3550
3550
reason: "Function does not require reserved concurrency as it scales based on demand"
3551
+
- id: W58
3552
+
reason: "DLQ not required for Cfn Custom Resource function"
3553
+
- id: W76
3554
+
reason: "Suppressing W76: SPCM for IAM policy document is higher than 25"
3551
3555
# checkov:skip=CKV_AWS_116: "DLQ not required for analytics processor as it's invoked asynchronously by request handler with error handling and job status tracking in DynamoDB"
3552
3556
# checkov:skip=CKV_AWS_117: "Function does not require VPC access as it only interacts with AWS services via APIs"
3553
3557
# checkov:skip=CKV_AWS_115: "Function does not require reserved concurrency as it scales based on demand"
@@ -4330,6 +4334,8 @@ Resources:
4330
4334
reason: "Function does not require VPC access as it only interacts with AWS services via APIs"
4331
4335
- id: W92
4332
4336
reason: "Function does not require reserved concurrency as it scales based on demand"
4337
+
- id: W58
4338
+
reason: "DLQ not required for Cfn Custom Resource function"
4333
4339
# checkov:skip=CKV_AWS_116: "DLQ not required for Cfn Custom Resource function"
4334
4340
# checkov:skip=CKV_AWS_117: "Function does not require VPC access as it only interacts with AWS services via APIs"
4335
4341
# checkov:skip=CKV_AWS_115: "Function does not require reserved concurrency as it scales based on demand"
@@ -4527,6 +4533,8 @@ Resources:
4527
4533
reason: "Function does not require VPC access as it only interacts with AWS services via APIs"
4528
4534
- id: W92
4529
4535
reason: "Function does not require reserved concurrency as it scales based on demand"
4536
+
- id: W58
4537
+
reason: "DLQ not required for Cfn Custom Resource function"
4530
4538
# checkov:skip=CKV_AWS_116: "DLQ not required for Cfn Custom Resource function"
4531
4539
# checkov:skip=CKV_AWS_117: "Function does not require VPC access as it only interacts with AWS services via APIs"
4532
4540
# checkov:skip=CKV_AWS_115: "Function does not require reserved concurrency as it scales based on demand"
0 commit comments