Ensure that S3 log encryption is enabled for your Amazon CodeBuild build projects in order to protect sensitive information, prevent unauthorized access to log data, and meet compliance requirements.
optimisation
excellence
Amazon CodeBuild provides the option to save build process logs to Amazon S3. Enabling encryption for these logs in your CodeBuild build projects enhances security and safeguards your logging data from unauthorized access. By using a specified KMS key, the logs are encrypted before being stored in Amazon S3. This approach ensures that only authorized users with the key can access the encrypted logs.
Audit
To determine if S3 log encryption is enabled for your Amazon CodeBuild build projects, perform the following operations:
Remediation / Resolution
To ensure that S3 log encryption is enabled for your Amazon CodeBuild build projects, perform the following operations:
References
- AWS Documentation
- AWS CodeBuild FAQs
- Data protection in AWS CodeBuild
- Data encryption
- Logging and monitoring in AWS CodeBuild
- AWS Command Line Interface (CLI) Documentation
- list-projects
- batch-get-projects
- update-project