For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex CloudApplication Security

Athena Workgroup is not encrypted misconfiguration detected in code

Rule Details

Cortex AppSec Rule ID

APPSEC_AWS_159

Category - Subcategory

Storage - Encryption

Provider

AWS

Severity

MEDIUM

Framework

Terraform, Terraform Plan

Impact

Athena workgroups support full server-side encryption for all data at rest which should be enabled.

How to Fix

Resource: aws_athena_workgroup

  • Arguments: result_configuration.encryption_configuration [source,go]


resource "aws_athena_workgroup" "test" { ...

  • configuration { ...

  • result_configuration {

  • output_location = "s3://mys3bucket"

  • encryption_configuration {

  • encryption_option = "SSE_KMS"

  • kms_key_arn = "mykmsarn" } } } }


Last updated

Was this helpful?