Skip to content

Commit 7ac7a64

Browse files
authored
Merge pull request #157 from purple-technology/f/checkov
fix(ci): install fixed checkov version and resolved security recommendations ckv_aws_117 and ckv_aws_115
2 parents dbdbbd4 + 713d6f3 commit 7ac7a64

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

β€Ž.circleci/config.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
command: sudo apt update && sudo apt install python3-pip
117117
- run:
118118
name: Install Checkov
119-
command: pip3 install -U checkov
119+
command: pip3 install -U checkov==2.1.16
120120
- aws-cli/install
121121
- run: *commands_assume_aws_role
122122
- run:

β€ŽREADME.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ serverless.settings.yml
8484
- ❗️ Create an S3 bucket for the serverless deployments and then fill the bucket's name in `common.deploymentBucket`
8585
- ❗️ Replace `purple-stack.com` in `frontend.domain` with desired domain where you would like your application to be avalible. This domain needs to have a hosted zone in the same AWS account's Route53.
8686
- ❗️ Create a wilcard certificate in `N. Virginia` region for the `frontend.domain` and fill the certificate ARN to `frontend.certificate`
87+
- ❗️ Modify the `vpc` in case you need to have your functions inside a VPC (if you need reach to an RDS databases, for example) or replace value with `~` if not
8788
- πŸŒ€ Modify the `common.projectName` to better identify your application
8889
- πŸŒ€ Modify the `common.dnsRandomString` to better secure your feature deployments
89-
- πŸŒ€ Modify the `vpc` in case you need to have your functions inside a VPC (if you need reach to an RDS databases, for example)
9090
- πŸŒ€ If you would like to enable monitoring, put a list of stages you would like to monitor in `monitoring.stages` and if you do so, ❗️ fill the `monitoring.topic` with the desired topic ARN
9191

9292

β€Žpackages/checkov/.checkov.yamlβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ skip-check:
2424
- CKV_AWS_54 # Ensure S3 bucket has block public policy enabled
2525
- CKV_AWS_53 # Ensure S3 bucket has block public ACLS enabled
2626
- CKV_AWS_28 # Ensure Dynamodb point in time recovery (backup) is enabled
27+
- CKV_AWS_115 # Ensure AWS Lambda function is configured for function-level concurrent execution limit

β€Žserverless.settings.ymlβ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ ci:
1212
prodAwsRole: arn:aws:iam::000000000000:role/ReplaceCiRole
1313
stagingAwsRole: arn:aws:iam::000000000000:role/ReplaceCiRole
1414

15-
vpc: ~
16-
# securityGroupIds:
17-
# - SC_ID
18-
# subnetIds:
19-
# - SUBNET_ID
15+
vpc:
16+
securityGroupIds:
17+
- SC_ID
18+
subnetIds:
19+
- SUBNET_ID
2020

2121
monitoring:
2222
stages:

0 commit comments

Comments
Β (0)