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

# AWS Opensearch domain audit logging disabled

### Synopsis

| Field               | Value                                        |
| ------------------- | -------------------------------------------- |
| Rule Type           | Detection                                    |
| Finding Type        | AWS Opensearch domain audit logging disabled |
| Finding ID          | 60000925                                     |
| 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.002 (T1685.002)                        |

### Description

AWS Opensearch domains lacking audit logging pose a significant security risk, potentially leading to undetected data breaches and unauthorized access. Opensearch audit logs track crucial activities like authentication attempts, data modifications, and search queries. Without these logs, malicious actions can go unnoticed, hindering incident response and investigation.

The Opensearch service's audit logging setting controls the generation of logs detailing all domain activities. Disabling this setting prevents the recording of essential security-related events. This misconfiguration leaves the domain vulnerable to unauthorized access, data exfiltration, and malicious modifications, as no record of suspicious activity exists for detection and analysis.

The impact of this misconfiguration includes compromised data integrity and confidentiality, hampered incident response, and difficulty in meeting regulatory compliance requirements. Enabling audit logging provides a crucial security control, allowing for the timely detection of suspicious activities and the investigation of security incidents. This is essential for maintaining the confidentiality, integrity, and availability of sensitive data stored within the Opensearch domain.

To mitigate this risk, ensure audit logging is enabled on all AWS Opensearch domains. Regularly review the audit logs for suspicious activity. Implement appropriate monitoring and alerting mechanisms to proactively identify potential threats. Consider integrating the Opensearch audit logs with your Security Information and Event Management (SIEM) system for centralized logging and analysis.

### Remediation

**Manual steps:**

Amazon Elasticsearch Domain - Manual remediation steps:

To enable the AWS Opensearch domain with audit logs:

1. Sign into the AWS console and navigate to the Opensearch Service Dashboard
2. In the navigation pane, under 'Managed Clusters', select 'Domains'
3. Choose the reported Elasticsearch domain
4. On the Logs tab, select 'Audit logs' and choose 'Enable'.
5. In the 'Set up audit logs' section, in the 'Select log group from CloudWatch logs' setting, Create/Use existing CloudWatch Logs log group as per your requirement
6. In 'Specify CloudWatch access policy', create new/Select an existing policy as per your requirement
7. Click on 'Enable'


---

# 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-opensearch-domain-audit-logging-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.
