> 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-job-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 Job not encrypted by Customer Managed Key (CMK)

### Synopsis

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

### Description

AWS Glue jobs not encrypted with a Customer Managed Key (CMK) risk data breaches. Unencrypted data processed by these jobs is vulnerable if the default KMS key is compromised.

AWS Glue jobs offer encryption options for data stored in locations like Amazon S3. Using the default KMS key instead of a CMK leaves data susceptible to unauthorized access by AWS or anyone with access to the default key. This misconfiguration could lead to data exfiltration or manipulation by malicious actors.

The impact of this misconfiguration is the potential exposure of sensitive data processed by the Glue job. Using a CMK provides stronger security and control, ensuring compliance with data protection regulations. It limits the risk of unauthorized data access and maintains data confidentiality.

To mitigate this, ensure all AWS Glue jobs utilize a CMK for encryption. Regularly audit Glue job configurations to verify CMK usage and ensure the CMK's enabled status.

### Remediation

To encrypt data processed by AWS Glue jobs, configure encryption settings within the security configuration of the Glue job. Security configurations cannot be edited from the console, so we need to create a new security configuration with the necessary settings and attach it to the existing Glue job.

To add a security configuration using the AWS Glue console,

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. To add a security configuration using the AWS Glue console, choose 'Security Configurations' in the navigation pane.
5. Choose 'Add security configuration'.
6. on the Security configuration properties, Enter a unique security configuration name in the name text box.
7. To Enable S3 encryption, select the checkbox under the 'Enable S3 encryption' section.
8. Select the 'SSE-KMS' option in the 'Encryption mode' and choose an AWS KMS CMK key, or choose Enter a key ARN of the CMK and provide the ARN for the key that you are managing according to your business requirements.
9. Click 'Create' to create a security configuration.

To add a security configuration to the existing glue job.

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 ETL jobs in the navigation pane.
5. select the reported job under the Your Jobs section.
6. select the Job details tab.
7. select the newly created security configuration from the dropdown in the 'Security configuration' section under the 'Advance properties' dropdown.
8. Click 'Save'.

To enable the KMS CMK key, please refer to the below link.

<https://docs.aws.amazon.com/kms/latest/developerguide/enabling-keys.html#enabling-keys-console>


---

# 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-job-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.
