Skip to content

Commit

Permalink
Merge pull request #157 from purple-technology/f/checkov
Browse files Browse the repository at this point in the history
fix(ci): install fixed checkov version and resolved security recommendations ckv_aws_117 and ckv_aws_115
  • Loading branch information
bauer01 authored Jul 13, 2022
2 parents dbdbbd4 + 713d6f3 commit 7ac7a64
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
command: sudo apt update && sudo apt install python3-pip
- run:
name: Install Checkov
command: pip3 install -U checkov
command: pip3 install -U checkov==2.1.16
- aws-cli/install
- run: *commands_assume_aws_role
- run:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ serverless.settings.yml
- ❗️ Create an S3 bucket for the serverless deployments and then fill the bucket's name in `common.deploymentBucket`
- ❗️ 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.
- ❗️ Create a wilcard certificate in `N. Virginia` region for the `frontend.domain` and fill the certificate ARN to `frontend.certificate`
- ❗️ 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
- πŸŒ€ Modify the `common.projectName` to better identify your application
- πŸŒ€ Modify the `common.dnsRandomString` to better secure your feature deployments
- πŸŒ€ Modify the `vpc` in case you need to have your functions inside a VPC (if you need reach to an RDS databases, for example)
- πŸŒ€ 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


Expand Down
1 change: 1 addition & 0 deletions packages/checkov/.checkov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ skip-check:
- CKV_AWS_54 # Ensure S3 bucket has block public policy enabled
- CKV_AWS_53 # Ensure S3 bucket has block public ACLS enabled
- CKV_AWS_28 # Ensure Dynamodb point in time recovery (backup) is enabled
- CKV_AWS_115 # Ensure AWS Lambda function is configured for function-level concurrent execution limit
10 changes: 5 additions & 5 deletions serverless.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ ci:
prodAwsRole: arn:aws:iam::000000000000:role/ReplaceCiRole
stagingAwsRole: arn:aws:iam::000000000000:role/ReplaceCiRole

vpc: ~
# securityGroupIds:
# - SC_ID
# subnetIds:
# - SUBNET_ID
vpc:
securityGroupIds:
- SC_ID
subnetIds:
- SUBNET_ID

monitoring:
stages:
Expand Down

0 comments on commit 7ac7a64

Please sign in to comment.