> 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-elasticsearch-domain-has-dedicated-master-set-to-disabled.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS Elasticsearch domain has Dedicated master set to disabled

### Synopsis

| Field               | Value                                                         |
| ------------------- | ------------------------------------------------------------- |
| Rule Type           | Detection                                                     |
| Finding Type        | AWS Elasticsearch domain has Dedicated master set to disabled |
| Finding ID          | 60000132                                                      |
| Generates a Finding | This detection rule also generates a finding                  |
| Severity            | Informational                                                 |
| Category            | CONFIGURATION                                                 |
| Cloud Providers     | AWS                                                           |
| Platform Module     | CSPM                                                          |
| Asset Types         | AMAZON\_ELASTICSEARCH\_DOMAIN                                 |
| ATT\&CK Tactic      | TA0112 (TA0112)                                               |
| ATT\&CK Technique   | T1685 (T1685)                                                 |

### Description

AWS Elasticsearch domains with dedicated master nodes disabled are susceptible to performance degradation and potential service disruptions. Disabling dedicated master nodes forces data nodes to handle both data management and cluster management tasks, leading to resource contention and reduced efficiency.

Elasticsearch domains rely on dedicated master nodes for efficient cluster management. Without them, data nodes become overloaded, impacting search performance and increasing latency. This misconfiguration increases the risk of cluster instability, making the domain vulnerable to denial-of-service attacks and data loss. An attacker could exploit this performance bottleneck to disrupt services.

The impact of this misconfiguration includes decreased application performance, increased latency, and potential service outages. Maintaining dedicated master nodes enhances resilience and scalability, ensuring optimal performance under heavy load and preventing service disruptions. This best practice ensures efficient cluster management and resource utilization.

To remediate this, enable dedicated master nodes for all Elasticsearch domains. Regularly review and monitor the health and performance of your Elasticsearch clusters. Consider implementing automated alerts to proactively identify and address potential issues before they impact service availability.

### Remediation

**Manual steps:**

Amazon Elasticsearch Domain - Manual remediation steps:

1. Sign into 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 Amazon OpenSearch Service Dashboard
4. Go to 'Domains' under Managed cluster from the left panel
5. Choose reported Elasticsearch domain
6. Click on 'Action' button and choose 'Edit cluster configuration'
7. On the 'Edit cluster configuration' page,
   1. Check 'Enable dedicated master' checkbox to enable dedicated master nodes for the current cluster.
   2. Select the 'Instance type' based on your ES cluster requirements from the dropdown list.

      Note: As dedicated master nodes do not hold any data nor process any search and query requests, the instance node for this role typically does not require a large amount of CPU/RAM.
   3. Select the 'Number of master nodes' from dropdown list to allocate dedicated master nodes.
8. Click on 'Save changes'


---

# 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-elasticsearch-domain-has-dedicated-master-set-to-disabled.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.
