Redshift DB is not encrypted Affecting Redshift service in AWS


Severity

0.0
medium
0
10
Severity Framework
Snyk CCSS
Rule category
Data/ Access

Is your environment affected by this misconfiguration?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
Frameworks
CIS-ControlsCSA-CCMGDPRHIPAAISO-27001NIST-800-53SOC-2
  • Snyk IDSNYK-CC-00233
  • creditSnyk Research Team

Description

Should someone gain unauthorized access to the data, they would be able to read the contents.

How to fix?

Set the aws_redshift_cluster encrypted attribute to true.

Example configuration:

resource "aws_redshift_cluster" "encryption_enabled" {
  cluster_identifier = "tf-redshift-cluster"
  database_name      = "mydb"
  master_username    = "myusername"
  master_password    = "Mustbe8characters"
  node_type          = "dc1.large"
  cluster_type       = "single-node"
  encrypted          = true
}