Integrating Bridgecrew with AWS CodeBuild makes it possible for Bridgecrew to scan your Infrastructure as code files, display Incidents on the Console and, optionally, cause a build to fail.
To integrate Bridgecrew Cloud with AWS CodeBuild:
- Under Continuous Integration, press AWS CodeBuild and then Add Subscription.
- Copy the command, including the API key and run it in your CLI.
- Update your buildspec.yaml file based on the sample shown.
You can change the values of the parameters in the script's commands but do not change these lines:
BC_SOURCE: "codebuild" parameter-store: BC_API_KEY: "bridgecrew_api_key"
- Press Done.
Updated 2 months ago