> 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-is-not-configured-with-https.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS Elasticsearch domain is not configured with HTTPS

### Synopsis

| Field               | Value                                                 |
| ------------------- | ----------------------------------------------------- |
| Rule Type           | Detection                                             |
| Finding Type        | AWS Elasticsearch domain is not configured with HTTPS |
| Finding ID          | 60000567                                              |
| Generates a Finding | This detection rule also generates a finding          |
| Severity            | Medium                                                |
| Category            | CONFIGURATION                                         |
| Cloud Providers     | AWS                                                   |
| Platform Module     | CSPM                                                  |
| Asset Types         | AMAZON\_ELASTICSEARCH\_DOMAIN                         |
| ATT\&CK Tactic      | TA0112 (TA0112)                                       |
| ATT\&CK Technique   | T1600 (T1600)                                         |

### Description

Elasticsearch domains lacking HTTPS encryption expose sensitive data to interception and unauthorized access. This misconfiguration allows attackers to eavesdrop on communication between applications and the Elasticsearch domain, potentially exposing sensitive data.

The Elasticsearch service allows configuring HTTPS for all communication. Disabling HTTPS removes the encryption layer protecting data in transit. Consequently, attackers can easily intercept network traffic, potentially leading to data breaches, unauthorized access, and compliance violations. Man-in-the-middle attacks become significantly more likely.

A successful attack could result in data exfiltration, unauthorized modifications, or complete service disruption. Maintaining HTTPS encryption is crucial for data confidentiality and integrity, ensuring compliance with industry regulations and preventing significant security breaches. The lack of encryption significantly increases the risk of data compromise.

To mitigate this misconfiguration, ensure all Elasticsearch domains are configured to enforce HTTPS. Enable HTTPS at the domain level, and verify that all applications and clients connect using HTTPS. Regularly audit the configuration to ensure persistent compliance. Restrict access to the Elasticsearch domain through network security groups to further enhance security.

### Remediation

**Manual steps:**

Amazon Elasticsearch Domain - Manual remediation steps:

1. Log in to the AWS Console
2. In the console, select the specific region from the 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 the reported domain
6. Click on 'Actions', from drop-down choose 'Edit security configuration'
7. In 'Edit security configuration' page, Enable 'Require HTTPS for all traffic to the domain' in the Encryption section
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-is-not-configured-with-https.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.
