Disabled Glue Data Catalog encryption High

Disabled Encryption is detected for the Glue Data Catalog. Make Sure that encryption is enabled for the Glue Data Catalog.

Detector ID
cloudformation/disabled-glue-cat-encrypt-cloudformation@v1.0
Category
Common Weakness Enumeration (CWE) external icon

Noncompliant example

1Resources:
2  Resource:
3    Type: 'AWS::Glue::DataCatalogEncryptionSettings'
4    Properties:
5      CatalogId: "CatalogId"
6      DataCatalogEncryptionSettings:
7        ConnectionPasswordEncryption:
8          KmsKeyId: "KmsKeyId"
9          ReturnConnectionPasswordEncrypted: True
10        EncryptionAtRest:
11          # Noncompliant: Glue Data Catalog Encryption is disabled.
12          CatalogEncryptionMode: "Disabled"
13          SseAwsKmsKeyId: "SseAwsKmsKeyId"

Compliant example

1Resources:
2  Resource:
3    Type: 'AWS::Glue::DataCatalogEncryptionSettings'
4    Properties:
5      CatalogId: "CatalogId"
6      DataCatalogEncryptionSettings:
7        ConnectionPasswordEncryption:
8          KmsKeyId: "KmsKeyId"
9          ReturnConnectionPasswordEncrypted: True
10        EncryptionAtRest:
11          # Compliant: Glue Data Catalog Encryption is enabled.
12          CatalogEncryptionMode: "SSE-KMS"
13          SseAwsKmsKeyId: "SseAwsKmsKeyId"