> 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-neptune-db-cluster-does-not-publish-audit-logs-to-cloudwatch-logs.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS Neptune DB cluster does not publish audit logs to CloudWatch Logs

### Synopsis

| Field               | Value                                                                 |
| ------------------- | --------------------------------------------------------------------- |
| Rule Type           | Detection                                                             |
| Finding Type        | AWS Neptune DB cluster does not publish audit logs to CloudWatch Logs |
| Finding ID          | 60000894                                                              |
| Generates a Finding | This detection rule also generates a finding                          |
| Severity            | Low                                                                   |
| Category            | CONFIGURATION                                                         |
| Cloud Providers     | AWS                                                                   |
| Platform Module     | CSPM                                                                  |
| Asset Types         | AMAZON\_NEPTUNE\_DATABASE\_CLUSTER                                    |

### Description

Amazon Neptune DB clusters lacking CloudWatch Logs integration for audit logs present a significant security risk. Without this integration, crucial database activity logs are not centrally collected, hindering security monitoring and incident response.

Neptune DB's audit logging feature tracks database operations. However, logs must be explicitly configured to publish to CloudWatch Logs. Failure to do this prevents centralized logging and analysis, making it difficult to detect malicious activity such as unauthorized access or data breaches. Attackers could exploit this misconfiguration to remain undetected.

The impact of this misconfiguration includes a lack of visibility into database activity, hindering threat detection and incident response. Centralized logging in CloudWatch Logs allows for easier security monitoring, analysis of suspicious behavior, and faster incident response. This improves overall security posture and reduces the risk of successful attacks.

To mitigate this, ensure all Neptune DB clusters are configured to enable audit logs and publish them to CloudWatch Logs. Regularly review the CloudWatch Logs for suspicious activity. Implement monitoring and alerting to promptly identify any interruptions in log delivery.

### Remediation

To create a custom parameter group if the cluster has only the default parameter group use the following steps:

1. Sign in to the AWS Management Console and open the Amazon Neptune DB console.
2. In the navigation pane, choose 'Parameter groups'.
3. Choose 'Create'. The 'Create cluster parameter group' window appears.
4. In the 'Parameter group family' list, select a 'DB parameter group family'.
5. In the 'Parameter group type', Select 'DB cluster parameter group'.
6. In the 'New cluster parameter group name', enter the name of the new DB cluster parameter group.
7. In the Description box, enter a description for the new DB cluster parameter group.
8. Click 'Create'.

To modify the custom DB cluster parameter group to enable query logging, follow the below steps:

1. Sign in to the AWS Management Console and open the Amazon Neptune DB console.
2. In the navigation pane, choose 'Parameter groups'.
3. In the list, choose the above-created parameter group or the reported resource custom parameter group that you want to modify.
4. Change the value of the 'neptune\_enable\_audit\_log' parameter to '1' in the value drop-down and click on tick mark for enabling audit logs.

To modify an Amazon Neptune DB Cluster to use the custom parameter group, follow the below steps:

1. Sign in to the AWS Management Console and open the Amazon Neptune DB console.
2. In the navigation pane, choose 'Databases', and then choose the 'DB instance' that you want to modify.
3. Choose the reported cluster that you want to associate your parameter group with. Choose 'Actions', and then choose 'Modify' to modify your cluster.
4. Under 'Additional settings', select the above-created cluster parameter group from the DB parameter group dropdown.
5. Choose 'Continue' and check the summary of modifications.
6. On the confirmation page, review your changes. If they are correct, choose 'Modify cluster' to save your changes.

To modify an Amazon Neptune DB cluster for enabling export logs to cloudwatch, follow the below steps:

1. Sign in to the AWS Management Console and open the Amazon Neptune DB console.
2. In the navigation pane, choose 'Databases', and then choose the 'DB instance' that you want to modify.
3. Choose the reported cluster that you want to associate your parameter group with. Choose 'Actions', and then choose 'Modify' to modify your cluster.
4. Scroll down to the Log exports section, and choose 'Enable' for the 'Audit logs'.
5. Choose 'Continue'.
6. Choose 'Modify cluster'.


---

# 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-neptune-db-cluster-does-not-publish-audit-logs-to-cloudwatch-logs.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.
