> 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-emr-cluster-is-not-enabled-with-local-disk-encryption-using-custom-key-provider.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS EMR cluster is not enabled with local disk encryption using Custom key provider

### Synopsis

| Field               | Value                                                                               |
| ------------------- | ----------------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                           |
| Finding Type        | AWS EMR cluster is not enabled with local disk encryption using Custom key provider |
| Finding ID          | 60000313                                                                            |
| Generates a Finding | This detection rule also generates a finding                                        |
| Severity            | Low                                                                                 |
| Category            | CONFIGURATION                                                                       |
| Cloud Providers     | AWS                                                                                 |
| Platform Module     | CSPM                                                                                |
| Asset Types         | EMR\_CLUSTER                                                                        |

### Description

AWS EMR clusters lacking local disk encryption using a custom key provider represent a significant security risk. Applications processing sensitive data on these clusters could leave that data vulnerable if it's written to the local disk.

Amazon EMR clusters utilize local disks for temporary data storage during processing. Without encryption using a custom key provider, sensitive data at rest on these disks is susceptible to unauthorized access if a node is compromised. This could lead to data breaches and regulatory non-compliance.

A misconfiguration exposing unencrypted data on EMR cluster local disks could result in data theft, regulatory fines, and reputational damage. Encrypting data at rest using a custom key provider ensures that even if a node is compromised, the data remains confidential and integrity is maintained.

Implement local disk encryption on all AWS EMR clusters using a custom key provider. Regularly review and audit cluster configurations to ensure encryption remains enabled. Employ strong key management practices to protect the custom keys.

### Remediation

1. Login to the AWS Console.
2. In the console, select the specific region from region drop down on the top right corner, for which the alert is generated.
3. Navigate to 'EMR' dashboard from 'Services' dropdown.
4. Go to 'Security configurations', click 'Create'.
5. On the Create security configuration window,
6. In 'Name' box, provide a name for the new EMR security configuration.
7. Under 'Local disk encryption', check the box 'Enable at-rest encryption for local disks'.
8. Select 'Custom' Key provider type from the 'Key provider type' dropdown list.
9. Follow the below link for creating the custom key,

   <https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-data-encryption-options.html>
10. Click on 'Create' button.
11. On the left menu of EMR dashboard Click 'Clusters'.
12. Select the EMR cluster for which the alert has been generated and click on the 'Clone' button from the top menu.
13. In the Cloning popup, choose 'Yes' and Click 'Clone'.
14. On the Create Cluster page, in the Security Options section, click on 'security configuration'.
15. From the 'Security configuration' drop down select the name of the security configuration created at step 4 to step 8, click 'Create Cluster'.
16. Once the new cluster is set up verify its working and terminate the source cluster.
17. On the left menu of EMR dashboard Click 'Clusters', from the list of clusters select the source cluster which is alerted.
18. Click on the 'Terminate' button from the top menu.
19. On the 'Terminate clusters' pop-up, click 'Terminate'.


---

# 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-emr-cluster-is-not-enabled-with-local-disk-encryption-using-custom-key-provider.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.
