Skip to content

Commit c1a8341

Browse files
author
Bob Strahan
committed
fix(pattern-1): add security compliance annotations to HITLWaitFunction
1 parent fd8c686 commit c1a8341

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

patterns/pattern-1/template.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -970,6 +970,19 @@ Resources:
970970

971971
HITLWaitFunction:
972972
Type: AWS::Serverless::Function
973+
Metadata:
974+
cfn_nag:
975+
rules_to_suppress:
976+
- id: W11
977+
reason: "Cloudwatch does not support resource-level permissions"
978+
- id: W89
979+
reason: "This Lambda function does not require VPC access as it only interacts with AWS services via AWS APIs"
980+
- id: W92
981+
reason: "Function does not require concurrent execution limits as it is designed to scale based on demand"
982+
# checkov:skip=CKV_AWS_116: "DLQ not required for this function as StepFunctions will handle retries"
983+
# checkov:skip=CKV_AWS_173: "Environment variables do not contain sensitive data - only configuration values like feature flags and non-sensitive settings"
984+
# checkov:skip=CKV_AWS_117: "Function does not require VPC access as it only interacts with AWS services via APIs"
985+
# checkov:skip=CKV_AWS_115: "Function does not require reserved concurrency as it scales based on demand"
973986
Properties:
974987
CodeUri: src/hitl-wait-function/
975988
Handler: index.lambda_handler

0 commit comments

Comments
 (0)