Benchmark: CodeBuild
Description
This section contains recommendations for configuring CodeBuild resources.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-aws-compliance
Start the Powerpipe server:
steampipe service startpowerpipe server
Open http://localhost:9033 in your browser and select CodeBuild.
Run this benchmark in your terminal:
powerpipe benchmark run aws_compliance.benchmark.all_controls_codebuild
Snapshot and share results via Turbot Pipes:
powerpipe benchmark run aws_compliance.benchmark.all_controls_codebuild --share
Controls
- CodeBuild project artifact encryption should be enabled
- CodeBuild projects should not be unused for 90 days or greater
- CodeBuild project environments should not have privileged mode enabled
- CodeBuild projects should have logging enabled
- CodeBuild project plaintext environment variables should not contain sensitive AWS values
- CodeBuild project S3 logs should be encrypted
- CodeBuild GitHub or Bitbucket source repository URLs should use OAuth
- CodeBuild projects should not use an user controlled buildspec