Benchmark: CodeBuild
Description
This benchmark provides a set of controls that detect Terraform AWS CodeBuild resources deviating from security best practices.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-terraform-aws-complianceStart the Powerpipe server:
steampipe service startpowerpipe serverOpen http://localhost:9033 in your browser and select CodeBuild.
Run this benchmark in your terminal:
powerpipe benchmark run terraform_aws_compliance.benchmark.codebuildSnapshot and share results via Turbot Pipes:
powerpipe benchmark run terraform_aws_compliance.benchmark.codebuild --shareControls
- CodeBuild project encryption at rest should be enabled
- CodeBuild project environments should have logging enabled
- CodeBuild project plaintext environment variables should not contain sensitive AWS values
- CodeBuild project privileged mode should be disabled
- CodeBuild project S3 logs encryption should be enabled
- CodeBuild GitHub or Bitbucket source repository URLs should use OAuth