{
    "Behavior": "PROACTIVE",
    "ComplianceFrameworkMappings": [
        {
            "ComplianceFramework": "NIST 800-53 Rev 5",
            "Ids": [
                "CA-9(1)",
                "CM-3(6)",
                "SC-13",
                "SC-28",
                "SC-28(1)",
                "SC-7(10)",
                "SI-7(6)"
            ]
        },
        {
            "ComplianceFramework": "PCI DSS version 3.2.1",
            "Ids": [
                "3.4",
                "8.2.1"
            ]
        }
    ],
    "ConfigRuleIdentifier": "ATHENA_WORKGROUP_ENCRYPTED_AT_REST",
    "ControlOwner": "AWS Control Tower",
    "DeploymentMechanism": "AWS CloudFormation Hook",
    "DeploymentOwner": "AWS Control Tower",
    "Description": "This control checks whether an Amazon Athena workgroup is configured to encrypt query results at rest with an AWS KMS key.",
    "DisplayName": "Require an Amazon Athena workgroup to encrypt Athena query results at rest with an AWS Key Management Service (KMS) key",
    "DocumentationReferences": [
        {
            "DisplayName": "Encrypting Athena query results stored in Amazon S3",
            "Type": "AWS Documentation",
            "Url": "https://docs.aws.amazon.com/athena/latest/ug/encrypting-query-results-stored-in-s3.html"
        }
    ],
    "EvaluatedResourceTypes": [
        "AWS::Athena::WorkGroup"
    ],
    "EvaluatedServices": [
        "Amazon Athena"
    ],
    "Groups": [
        "digital-sovereignty"
    ],
    "Guidance": "Elective",
    "Id": "CT.ATHENA.PR.2",
    "ImplementationType": "CloudFormation guard rule",
    "Objectives": [
        {
            "Id": "CO.2",
            "Name": "Encrypt data at rest"
        }
    ],
    "RegionalPreference": "REGIONAL",
    "Relationships": [
        {
            "ControlId": "SH.Athena.1",
            "ControlOwner": "AWS Security Hub",
            "RelationshipType": "Can be used with (Inclusive)"
        }
    ],
    "ReleaseDate": "2023-10-05",
    "RemediationMessage": "In the 'WorkGroupConfiguration.ResultConfiguration' parameter, provide an 'EncryptionConfiguration' configuration with an 'EncryptionOption' set to a KMS-based encryption option, and with 'KmsKey' set to the identifier or ARN of an AWS KMS key, or the name of an AWS KMS key alias.",
    "Severity": "MEDIUM",
    "SupportedRegions": [
        "af-south-1",
        "ap-east-1",
        "ap-northeast-1",
        "ap-northeast-2",
        "ap-northeast-3",
        "ap-south-1",
        "ap-south-2",
        "ap-southeast-1",
        "ap-southeast-2",
        "ap-southeast-3",
        "ap-southeast-4",
        "ca-central-1",
        "eu-central-1",
        "eu-central-2",
        "eu-north-1",
        "eu-south-1",
        "eu-south-2",
        "eu-west-1",
        "eu-west-2",
        "eu-west-3",
        "il-central-1",
        "me-central-1",
        "me-south-1",
        "sa-east-1",
        "us-east-1",
        "us-east-2",
        "us-west-1",
        "us-west-2"
    ],
    "TargetOuType": "CUSTOM",
    "Version": "1",
    "Visibility": "PUBLIC"
}