Medium CodeBuild Regional

CodeBuild project environments should have a logging configuration

NISTISO 27001HIPAA

Description

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


Remediation

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

Steps

  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.

Compliance

NISTISO 27001HIPAA