Skip to content

CodeBuild projects are not encrypted

Description

Encrypting your CodeBuild projects helps protect your data from unauthorized access or tampering. That way, you can ensure that only authorized users can access and modify the contents of your projects. Such action can help protect against external threats such as hackers or malware, as well as internal threats such as accidental or unauthorized access.

Code Example

go
resource "aws_codebuild_project" "example" {
  ...
+ encryption_key = "AWS_Key_Management_Service_example"
}

Remediation

Terraform

  • Resource: aws_codebuild_project
  • Arguments: encryption_key

Rule Details

FieldValue
IDIAC-0197
SeverityMEDIUM
IaC TypeTerraform
FrameworksTerraform, TerraformPlan
Checkov IDCKV_AWS_147

References