logo

Database

Aws Query Results Not Encrypted

Description

Identifies AWS Athena workgroups that store query results without encryption enabled. Unencrypted query results can expose sensitive data to unauthorized access, especially when stored in S3 buckets. This poses a security risk for data confidentiality and regulatory compliance.

Weakness:

165 - Insecure service configuration - AWS

Category: Functionality Abuse

Detection Strategy

    Checks each Athena workgroup in the specified AWS region

    Verifies if the workgroup has executed any queries (has query execution history)

    Examines the workgroup's ResultConfiguration for an EncryptionConfiguration setting

    Reports a vulnerability if a workgroup with query history lacks encryption configuration for results