> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/aws-glue-data-catalog-not-encrypted-by-customer-managed-key-cmk.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS Glue Data Catalog not encrypted by Customer Managed Key (CMK)

### Synopsis

| Field               | Value                                                             |
| ------------------- | ----------------------------------------------------------------- |
| Rule Type           | Detection                                                         |
| Finding Type        | AWS Glue Data Catalog not encrypted by Customer Managed Key (CMK) |
| Finding ID          | 60000876                                                          |
| Generates a Finding | This detection rule also generates a finding                      |
| Severity            | Medium                                                            |
| Category            | CONFIGURATION                                                     |
| Cloud Providers     | AWS                                                               |
| Platform Module     | CSPM                                                              |
| Asset Types         | AWS\_GLUE\_DATA\_CATALOG                                          |

### Description

AWS Glue Data Catalogs not encrypted with a Customer Managed Key (CMK) present a significant security risk. Data stored within the Data Catalog, including sensitive schema information, remains vulnerable if protected only by the default AWS-managed key.

The AWS Glue Data Catalog service provides a metadata repository for managing data assets. Using the default KMS key instead of a CMK leaves the encryption key under AWS's control, limiting organizational control and potentially hindering compliance efforts. An attacker gaining unauthorized access to the default key could decrypt and exfiltrate sensitive metadata.

A compromised Data Catalog can lead to data breaches, violating data privacy regulations and impacting business operations. Using a CMK provides granular control over encryption keys, ensuring only authorized personnel can access and manage the encryption process, enhancing data security posture.

To mitigate this risk, always encrypt the AWS Glue Data Catalog using a CMK. Regularly audit CMK access policies to ensure least privilege. Rotate CMK keys periodically according to best practices to further minimize the impact of any potential compromise.

### Remediation

To enable the encryption for Glue data catalog

1. Sign in to the AWS Management Console, Go to the AWS Management Console at <https://console.aws.amazon.com/>.
2. Navigate to the reported resource region by selecting the region from the dropdown in the top right corner.
3. Navigate to AWS Glue: In the 'Find Services' search box, type 'Glue' and select 'AWS Glue' from the search results.
4. Choose the 'Data Catalog' dropdown in the navigation pane and select 'Catalog settings'.
5. On the 'Data catalog settings' page, select the 'Metadata encryption' check box, and choose an AWS KMS CMK key that you are managing according to your business requirements.

   Note: When you use a customer managed key to encrypt your Data Catalog, the Data Catalog provides an option to register an IAM role to encrypt and decrypt resources. You need to grant your IAM role permissions that AWS Glue can assume on your behalf. This includes AWS KMS permissions to encrypt and decrypt data.
6. To enable an IAM role that AWS Glue can assume to encrypt and decrypt data on your behalf, select the 'Delegate KMS operations to an IAM role' option.
7. Select an IAM role equipped with the necessary permissions to conduct the required KMS operations for AWS Glue to assume.
8. To Encrypt connection passwords, select 'Encrypt connection passwords', and choose an AWS KMS CMK key that you are managing according to your business requirements.
9. And click 'save'.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/aws-glue-data-catalog-not-encrypted-by-customer-managed-key-cmk.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
