Redshift cluster logging is disabled Affecting Redshift service in AWS


Severity

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

Is your enviroment 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-Controls HIPAA ISO-27001 NIST-800-53 SOC-2
  • Snyk ID SNYK-CC-00227
  • credit Snyk Research Team

Description

Audit records may not be available during investigation.

How to fix?

Set the aws_redshift_cluster logging.enable attribute to true.

Example Configuration

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