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
I'm glad to hear that the solution was useful to you. I initially made these changes to test the Checkov tool and address some of the issues it identified. However, I reverted those changes because they involved adding unnecessary infrastructure for this example. It's important to recognize that not all issues flagged by Checkov need to be resolved, as this depends on the specific use case, requirements, and objectives of the project.
In this repository, which serves as a basic example of an AWS Serverless CRUD, I have mentioned in the README that for production, you should consider the options that best meet your project's security needs.
Check: CKV_AWS_28: "Ensure DynamoDB point in time recovery (backup) is enabled"
FAILED for resource: AWS::DynamoDB::Table.UserNotesB5E78576
File: /cdk.out/ApiCrudServerlessCdkStack.template.json:99-182
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-general-policies/general-6
Check: CKV_AWS_119: "Ensure DynamoDB Tables are encrypted using a KMS Customer Managed CMK"
FAILED for resource: AWS::DynamoDB::Table.UserNotesB5E78576
File: /cdk.out/ApiCrudServerlessCdkStack.template.json:99-182
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-general-policies/bc-aws-52
Check: CKV_AWS_18: "Ensure the S3 bucket has access logging enabled"
FAILED for resource: AWS::S3::Bucket.buckets3apicrudserverlessdemo22F72684
File: /cdk.out/ApiCrudServerlessCdkStack.template.json:183-232
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/s3-policies/s3-13-enable-logging
Check: CKV_AWS_21: "Ensure the S3 bucket has versioning enabled"
FAILED for resource: AWS::S3::Bucket.buckets3apicrudserverlessdemo22F72684
File: /cdk.out/ApiCrudServerlessCdkStack.template.json:183-232
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/s3-policies/s3-16-enable-versioning
Check: CKV_AWS_117: "Ensure that AWS Lambda function is configured inside a VPC"
FAILED for resource: AWS::Lambda::Function.CustomS3AutoDeleteObjectsCustomResourceProviderHandler9D90184F
File: /cdk.out/ApiCrudServerlessCdkStack.template.json:335-383
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-general-policies/ensure-that-aws-lambda-function-is-configured-inside-a-vpc-1
Check: CKV_AWS_116: "Ensure that AWS Lambda function is configured for a Dead Letter Queue(DLQ)"
FAILED for resource: AWS::Lambda::Function.CustomS3AutoDeleteObjectsCustomResourceProviderHandler9D90184F
File: /cdk.out/ApiCrudServerlessCdkStack.template.json:335-383
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-general-policies/ensure-that-aws-lambda-function-is-configured-for-a-dead-letter-queue-dlq
Check: CKV_AWS_115: "Ensure that AWS Lambda function is configured for function-level concurrent execution limit"
FAILED for resource: AWS::Lambda::Function.CustomS3AutoDeleteObjectsCustomResourceProviderHandler9D90184F
File: /cdk.out/ApiCrudServerlessCdkStack.template.json:335-383
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-general-policies/ensure-that-aws-lambda-function-is-configured-for-function-level-concurrent-execution-limit
Check: CKV_AWS_117: "Ensure that AWS Lambda function is configured inside a VPC"
FAILED for resource: AWS::Lambda::Function.LambdaGetNotes762724B7
File: /cdk.out/ApiCrudServerlessCdkStack.template.json:502-544
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-general-policies/ensure-that-aws-lambda-function-is-configured-inside-a-vpc-1
Check: CKV_AWS_116: "Ensure that AWS Lambda function is configured for a Dead Letter Queue(DLQ)"
FAILED for resource: AWS::Lambda::Function.LambdaGetNotes762724B7
File: /cdk.out/ApiCrudServerlessCdkStack.template.json:502-544
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-general-policies/ensure-that-aws-lambda-function-is-configured-for-a-dead-letter-queue-dlq
Check: CKV_AWS_173: "Check encryption settings for Lambda environment variable"
FAILED for resource: AWS::Lambda::Function.LambdaGetNotes762724B7
File: /cdk.out/ApiCrudServerlessCdkStack.template.json:502-544
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-serverless-policies/bc-aws-serverless-5
Check: CKV_AWS_115: "Ensure that AWS Lambda function is configured for function-level concurrent execution limit"
FAILED for resource: AWS::Lambda::Function.LambdaGetNotes762724B7
File: /cdk.out/ApiCrudServerlessCdkStack.template.json:502-544
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-general-policies/ensure-that-aws-lambda-function-is-configured-for-function-level-concurrent-execution-limit
Check: CKV_AWS_117: "Ensure that AWS Lambda function is configured inside a VPC"
FAILED for resource: AWS::Lambda::Function.LambdaGetNoteIdBDE2142E
File: /cdk.out/ApiCrudServerlessCdkStack.template.json:633-672
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-general-policies/ensure-that-aws-lambda-function-is-configured-inside-a-vpc-1
Check: CKV_AWS_116: "Ensure that AWS Lambda function is configured for a Dead Letter Queue(DLQ)"
FAILED for resource: AWS::Lambda::Function.LambdaGetNoteIdBDE2142E
File: /cdk.out/ApiCrudServerlessCdkStack.template.json:633-672
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-general-policies/ensure-that-aws-lambda-function-is-configured-for-a-dead-letter-queue-dlq
Check: CKV_AWS_173: "Check encryption settings for Lambda environment variable"
FAILED for resource: AWS::Lambda::Function.LambdaGetNoteIdBDE2142E
File: /cdk.out/ApiCrudServerlessCdkStack.template.json:633-672
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-serverless-policies/bc-aws-serverless-5
Check: CKV_AWS_115: "Ensure that AWS Lambda function is configured for function-level concurrent execution limit"
FAILED for resource: AWS::Lambda::Function.LambdaGetNoteIdBDE2142E
File: /cdk.out/ApiCrudServerlessCdkStack.template.json:633-672
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-general-policies/ensure-that-aws-lambda-function-is-configured-for-function-level-concurrent-execution-limit
Check: CKV_AWS_117: "Ensure that AWS Lambda function is configured inside a VPC"
FAILED for resource: AWS::Lambda::Function.LambdaPutNotes63D36F10
File: /cdk.out/ApiCrudServerlessCdkStack.template.json:802-844
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-general-policies/ensure-that-aws-lambda-function-is-configured-inside-a-vpc-1
Check: CKV_AWS_116: "Ensure that AWS Lambda function is configured for a Dead Letter Queue(DLQ)"
FAILED for resource: AWS::Lambda::Function.LambdaPutNotes63D36F10
File: /cdk.out/ApiCrudServerlessCdkStack.template.json:802-844
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-general-policies/ensure-that-aws-lambda-function-is-configured-for-a-dead-letter-queue-dlq
Check: CKV_AWS_173: "Check encryption settings for Lambda environment variable"
FAILED for resource: AWS::Lambda::Function.LambdaPutNotes63D36F10
File: /cdk.out/ApiCrudServerlessCdkStack.template.json:802-844
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-serverless-policies/bc-aws-serverless-5
Check: CKV_AWS_115: "Ensure that AWS Lambda function is configured for function-level concurrent execution limit"
FAILED for resource: AWS::Lambda::Function.LambdaPutNotes63D36F10
File: /cdk.out/ApiCrudServerlessCdkStack.template.json:802-844
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-general-policies/ensure-that-aws-lambda-function-is-configured-for-function-level-concurrent-execution-limit
Check: CKV_AWS_117: "Ensure that AWS Lambda function is configured inside a VPC"
FAILED for resource: AWS::Lambda::Function.LambdaDeleteNotes0BBC790A
File: /cdk.out/ApiCrudServerlessCdkStack.template.json:937-976
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-general-policies/ensure-that-aws-lambda-function-is-configured-inside-a-vpc-1
Check: CKV_AWS_116: "Ensure that AWS Lambda function is configured for a Dead Letter Queue(DLQ)"
FAILED for resource: AWS::Lambda::Function.LambdaDeleteNotes0BBC790A
File: /cdk.out/ApiCrudServerlessCdkStack.template.json:937-976
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-general-policies/ensure-that-aws-lambda-function-is-configured-for-a-dead-letter-queue-dlq
Check: CKV_AWS_173: "Check encryption settings for Lambda environment variable"
FAILED for resource: AWS::Lambda::Function.LambdaDeleteNotes0BBC790A
File: /cdk.out/ApiCrudServerlessCdkStack.template.json:937-976
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-serverless-policies/bc-aws-serverless-5
Check: CKV_AWS_115: "Ensure that AWS Lambda function is configured for function-level concurrent execution limit"
FAILED for resource: AWS::Lambda::Function.LambdaDeleteNotes0BBC790A
File: /cdk.out/ApiCrudServerlessCdkStack.template.json:937-976
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-general-policies/ensure-that-aws-lambda-function-is-configured-for-function-level-concurrent-execution-limit
Check: CKV_AWS_120: "Ensure API Gateway caching is enabled"
FAILED for resource: AWS::ApiGateway::Stage.ApiCrudServerlessDemoDeploymentStageprodA28301DB
File: /cdk.out/ApiCrudServerlessCdkStack.template.json:1016-1030
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-general-policies/ensure-api-gateway-caching-is-enabled
Check: CKV_AWS_73: "Ensure API Gateway has X-Ray Tracing enabled"
FAILED for resource: AWS::ApiGateway::Stage.ApiCrudServerlessDemoDeploymentStageprodA28301DB
File: /cdk.out/ApiCrudServerlessCdkStack.template.json:1016-1030
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-logging-policies/logging-15
Check: CKV_AWS_76: "Ensure API Gateway has Access Logging enabled"
FAILED for resource: AWS::ApiGateway::Stage.ApiCrudServerlessDemoDeploymentStageprodA28301DB
File: /cdk.out/ApiCrudServerlessCdkStack.template.json:1016-1030
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-logging-policies/logging-17
The text was updated successfully, but these errors were encountered: