> 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-cloudtrail-logs-should-integrate-with-cloudwatch-for-all-regions.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS CloudTrail logs should integrate with CloudWatch for all regions

### Synopsis

| Field               | Value                                                                |
| ------------------- | -------------------------------------------------------------------- |
| Rule Type           | Detection                                                            |
| Finding Type        | AWS CloudTrail logs should integrate with CloudWatch for all regions |
| Finding ID          | 60000068                                                             |
| Generates a Finding | This detection rule also generates a finding                         |
| Severity            | Informational                                                        |
| Category            | CONFIGURATION                                                        |
| Cloud Providers     | AWS                                                                  |
| Platform Module     | CSPM                                                                 |
| Asset Types         | CLOUDTRAIL\_TRAIL                                                    |

### Description

AWS CloudTrail logs not integrated with CloudWatch across all regions present a significant security risk. Lack of real-time log analysis hinders immediate threat detection and response.

CloudTrail uses S3 for log storage, offering durability but lacking real-time capabilities. CloudWatch integration enables immediate analysis of events, crucial for identifying suspicious activities like unauthorized access attempts or data breaches. Without this integration, attackers could exploit delayed log analysis to remain undetected for extended periods.

Delayed log analysis severely limits incident response time, increasing the potential impact of successful attacks. Real-time monitoring via CloudWatch Logs allows for proactive threat detection and faster remediation, minimizing potential data loss and reputational damage. This best practice enhances security posture by enabling quicker identification and response to security incidents.

To mitigate this risk, ensure all AWS CloudTrail trails are configured to forward logs to CloudWatch Logs for all regions. Regularly verify this configuration to maintain continuous monitoring and ensure no regions are inadvertently excluded.

### Remediation

1. Sign into AWS and navigate to CloudTrail service.
2. Click on Trail in the left menu navigation and choose the reported cloudtrail.
3. Go to CloudWatch Logs section and click Edit.
4. Check the box to Enabled on CloudWatch Logs section.
5. Define a new or select an existing log group name.
6. Define a new or select an existing IAM Role that allows CloudTrail to deliver logs to the CloudWatch Logs stream and click Save changes to complete the process.


---

# 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-cloudtrail-logs-should-integrate-with-cloudwatch-for-all-regions.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.
