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

# AWS OpenSearch Fine-grained access control is disabled

### Synopsis

| Field               | Value                                                  |
| ------------------- | ------------------------------------------------------ |
| Rule Type           | Detection                                              |
| Finding Type        | AWS OpenSearch Fine-grained access control is disabled |
| Finding ID          | 60000630                                               |
| 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   | T1685 (T1685)                                          |

### Description

AWS OpenSearch Service domains lacking fine-grained access control are vulnerable to unauthorized data access. This misconfiguration exposes sensitive data stored within the domain to malicious actors or unintended users.

The OpenSearch Service's fine-grained access control (FGAC) feature allows granular control over access to indices and documents. Disabling FGAC removes this crucial layer of security, leaving the entire domain accessible to anyone with access to the domain's endpoint. Attackers could exploit this to read, modify, or delete sensitive data, resulting in data breaches or service disruptions.

A compromised OpenSearch domain with disabled FGAC can lead to significant data loss, regulatory fines, reputational damage, and financial losses. Implementing FGAC ensures only authorized users can access specific data within the domain, significantly reducing the risk of unauthorized access and data breaches. This is a critical security best practice to protect sensitive information.

Enable fine-grained access control on all AWS OpenSearch Service domains. Configure FGAC policies to restrict access based on roles and permissions, limiting access to only necessary data for each user or group. Regularly review and update FGAC policies to reflect changing security requirements and user roles. Monitor access logs for suspicious activity to detect potential unauthorized access attempts.

For more information, please follow the URL given below, <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/fgac.html>

### Remediation

**Manual steps:**

Amazon Elasticsearch Domain - Manual remediation steps:

To enable fine-grained access control on an existing domain (console)

Enabling the encryption feature on existing domains requires Elasticsearch 6.7 or later. If your Elasticsearch 6.7 or later, follow below steps to enable encryption on existing Elasticsearch domain:

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. From the navigation panel, Click on 'Domains' Under the 'Managed clusters'
5. Select the reported domain and choose 'Actions' and 'Edit security configuration'.
6. Select Enable fine-grained access control under the 'Fine-grained access control' section.

   6a. Choose how to create the master user:

   1. If you want to use IAM for user management, choose Set IAM ARN as master user and specify the ARN for an IAM role.
   2. If you want to use the internal user database, choose Create master user and specify a username and password.

      6b. (Optional) Select Enable migration period for open/IP-based access policy.
7. Choose 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-opensearch-fine-grained-access-control-is-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.
