All checks
Medium
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.
- Open the AWS CodeBuild console.
- Select the build project to modify.
- Navigate to the 'Logs' section in the project settings.
- Enable either 'S3 logs' or 'CloudWatch Logs' and configure the necessary settings.
- Save the changes to the project configuration.
See which of your accounts this check is failing on.
Book a demo