All checks
Medium CodeBuild · regional

CodeBuild project environments should have a logging configuration

Verifies that CodeBuild project environments have at least one log destination enabled: either S3 or CloudWatch Logs.

service
CodeBuild
severity
Medium
scope
evaluated in every region

How to fix it

To enable logging for CodeBuild project environments, configure either S3 or CloudWatch Logs in the project settings.

  1. Open the AWS CodeBuild console.
  2. Select the build project to modify.
  3. Navigate to the 'Logs' section in the project settings.
  4. Enable either 'S3 logs' or 'CloudWatch Logs' and configure the necessary settings.
  5. Save the changes to the project configuration.

See which of your accounts this check is failing on.

Book a demo