> 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-source-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 source database have logging not set to the minimum severity level

### Synopsis

| Field               | Value                                                                                               |
| ------------------- | --------------------------------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                                           |
| Finding Type        | AWS DMS replication task for the source database have logging not set to the minimum severity level |
| Finding ID          | 60000943                                                                                            |
| 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                                                |
| ATT\&CK Tactic      | TA0112 (TA0112)                                                                                     |
| ATT\&CK Technique   | T1685 (T1685)                                                                                       |

### Description

Insufficient logging on AWS Database Migration Service (DMS) replication tasks allows attackers to exploit potential data breaches or misconfigurations undetected. This weakens the ability to monitor, troubleshoot, and maintain data integrity during database migrations.

AWS DMS replication tasks, specifically 'SOURCE\_CAPTURE' and 'SOURCE\_UNLOAD', require detailed logging for comprehensive monitoring and auditing. Without adequate logging at a minimum severity level of 'LOGGER\_SEVERITY\_DEFAULT', security incidents, data corruption, or performance issues may go unnoticed, increasing the risk of successful attacks and data loss. Lack of logging hinders effective incident response and compliance efforts.

The impact of this misconfiguration includes compromised data integrity, inability to detect and respond to security incidents promptly, and potential non-compliance with regulatory requirements. Maintaining detailed logs allows for thorough post-incident analysis, facilitates faster resolution of issues, and supports compliance audits. A minimum logging level ensures sufficient information is captured for effective monitoring and troubleshooting.

To mitigate this, configure all AWS DMS replication tasks to enable logging and set the minimum severity level to 'LOGGER\_SEVERITY\_DEFAULT' for both 'SOURCE\_CAPTURE' and 'SOURCE\_UNLOAD'. Regularly review logs for suspicious activity and implement a robust logging monitoring system to proactively identify and address potential issues. Ensure logs are securely stored and accessible for analysis and auditing purposes.

### Remediation

**Manual steps:**

AWS Database Migration Service Replication Task - Manual remediation steps:

To enable logging for Source capture and Source Unload DMS replicatation tasks log components 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 'Source capture' and 'Source Unload' 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-source-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.
