> 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-dms-replication-task-for-the-target-database-have-logging-not-set-to-the-minimum-severity-level.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS DMS replication task for the target database have logging not set to the minimum severity level

### Synopsis

| Field               | Value                                                                                               |
| ------------------- | --------------------------------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                                           |
| Finding Type        | AWS DMS replication task for the target database have logging not set to the minimum severity level |
| Finding ID          | 60000946                                                                                            |
| Generates a Finding | This detection rule also generates a finding                                                        |
| Severity            | Informational                                                                                       |
| Category            | CONFIGURATION                                                                                       |
| Cloud Providers     | AWS                                                                                                 |
| Platform Module     | CSPM                                                                                                |
| Asset Types         | AWS\_DATABASE\_MIGRATION\_SERVICE\_REPLICATION\_TASK                                                |

### Description

Insufficient logging on AWS DMS replication tasks for target databases increases the risk of undetected errors and security breaches. This misconfiguration hinders monitoring, troubleshooting, and auditing capabilities, impacting data integrity and compliance.

AWS Database Migration Service (DMS) replication tasks utilize logging for TARGET\_APPLY and TARGET\_LOAD components to track data application and loading. Without adequate logging at a minimum severity level of LOGGER\_SEVERITY\_DEFAULT, crucial events may go unnoticed, potentially leading to data corruption, unauthorized access, or compliance violations. Attackers could exploit undetected errors to compromise the target database.

The impact of this misconfiguration includes compromised data integrity, difficulty in identifying and resolving issues, and potential non-compliance with security and auditing standards. Comprehensive logging provides a crucial audit trail for security investigations and facilitates timely remediation of problems. It's essential for maintaining data integrity and complying with regulatory requirements.

To mitigate this, ensure all AWS DMS replication tasks have logging enabled with a minimum severity level of LOGGER\_SEVERITY\_DEFAULT for both TARGET\_APPLY and TARGET\_LOAD. Regularly review logs for any suspicious activity.

### Remediation

To enable logging for Target Apply and Target Load DMS replication tasks log component during migration:

1. Log in to the AWS Management Console
2. In the console, select the specific region from the region drop-down in the top right corner, for which the alert is generated
3. Navigate to 'Migration & Transfer' from the 'Services' dropdown and select 'Database Migration Service'
4. In the navigation panel, under 'Migrate data', click on 'Database migration tasks'
5. Select the reported replication task and choose 'Modify' from the 'Actions' dropdown on the right
6. Under the 'Task settings' section, enable 'Turn on CloudWatch logs' under 'Task logs'
7. Set the log component severity for both 'Target apply' and 'Target Load' components to 'Default' or greater according to your business requirements
8. Click 'Save' to save the 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-dms-replication-task-for-the-target-database-have-logging-not-set-to-the-minimum-severity-level.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.
