> 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-vpc-flow-logs-not-enabled.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS VPC Flow Logs not enabled

### Synopsis

| Field               | Value                                        |
| ------------------- | -------------------------------------------- |
| Rule Type           | Detection                                    |
| Finding Type        | AWS VPC Flow Logs not enabled                |
| Finding ID          | 60000025                                     |
| Generates a Finding | This detection rule also generates a finding |
| Severity            | Informational                                |
| Category            | CONFIGURATION                                |
| Cloud Providers     | AWS                                          |
| Platform Module     | CSPM                                         |
| Asset Types         | EC2\_VPC                                     |
| ATT\&CK Tactic      | TA0112 (TA0112)                              |
| ATT\&CK Technique   | T1685.002 (T1685.002)                        |

### Description

AWS Virtual Private Clouds (VPCs) lacking enabled flow logs present a significant security risk. This misconfiguration leaves organizations blind to network traffic entering and exiting their VPCs, hindering threat detection and incident response capabilities.

AWS VPC Flow Logs provide crucial network traffic visibility. Disabling them prevents monitoring of inbound and outbound IP traffic to and from network interfaces within the VPC. Attackers could exploit this lack of visibility to infiltrate systems undetected, exfiltrate data, or conduct lateral movement within the network. Compromised instances might go unnoticed, leading to prolonged breaches and increased damage.

The impact of this misconfiguration is substantial, potentially resulting in undetected data breaches, compromised systems, and significant financial losses. Enabling flow logs is crucial for maintaining network security posture, providing real-time insights into network activity for timely threat identification and response. Continuous monitoring of network traffic enables prompt detection of malicious activities.

To mitigate this, immediately enable VPC Flow Logs on all VPCs. Configure logs to export to a centralized logging service such as AWS CloudWatch Logs or an external SIEM for comprehensive analysis. Regularly review log data to identify anomalies and potential security threats. Establish a process for ensuring flow logs remain enabled and actively monitored.

### Remediation

**Manual steps:**

EC2 VPC - Manual remediation steps:

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 VPC Dashboard
4. Click on 'Your VPCs' and Choose the reported VPC
5. Click on the 'Flow logs' tab and follow the instructions as in link below to enable Flow Logs for the VPC:

<https://aws.amazon.com/blogs/aws/vpc-flow-logs-log-and-view-network-traffic-flows/>


---

# 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-vpc-flow-logs-not-enabled.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.
