Ensure Redshift cluster is encrypted by KMS

Error: Redshift cluster is not encrypted by KMS

Bridgecrew Policy ID: BC_AWS_GENERAL_55
Checkov Check ID: CKV_AWS_142
Severity: MEDIUM

Redshift cluster is not encrypted by KMS

Description

Encrypting your data and resources with KMS helps protect your data from unauthorized access or tampering. By encrypting your data, you can ensure that only authorized users can access and decrypt the data, and that the data is protected while in storage or in transit. Such action can help protect against external threats such as hackers or malware, as well as internal threats such as accidental or unauthorized access.

Fix - Buildtime

Terraform

  • Resource: aws_redshift_cluster
  • Argument: kms_key_id
resource "aws_redshift_cluster" "test" {
  ...
+ kms_key_id         = "someKey"
}