Athena workgroup result encryption is not enforced Affecting Athena service in AWS


Severity

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

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-00293
  • creditSnyk Research Team

Description

Query results produced by Athena are not encrypted.

How to fix?

Ensure that the encryption_option attribute of your configuration.result_configuration.encryption_configuration block is set to either CSE_KMS, SSE_KMS or SSE_S3.

Example Configuration

resource "aws_athena_workgroup" "example" {
  configuration {
    result_configuration {
      encryption_configuration {
        encryption_option = "SSE_S3"
      }
    }
  }
  # other required fields here
}