> 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-ec2-client-vpn-endpoints-client-connection-logging-disabled.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS EC2 Client VPN endpoints client connection logging disabled

### Synopsis

| Field               | Value                                                           |
| ------------------- | --------------------------------------------------------------- |
| Rule Type           | Detection                                                       |
| Finding Type        | AWS EC2 Client VPN endpoints client connection logging disabled |
| Finding ID          | 60000914                                                        |
| Generates a Finding | This detection rule also generates a finding                    |
| Severity            | Informational                                                   |
| Category            | CONFIGURATION                                                   |
| Cloud Providers     | AWS                                                             |
| Platform Module     | CSPM                                                            |
| Asset Types         | EC2\_CLIENT\_VPN\_ENDPOINT                                      |
| ATT\&CK Tactic      | TA0112 (TA0112)                                                 |
| ATT\&CK Technique   | T1685.002 (T1685.002)                                           |

### Description

AWS EC2 Client VPN endpoints lacking client connection logging present a significant security risk. Disabling this feature prevents tracking user activity and compromises visibility into potential malicious actions on the VPN.

Client VPN endpoints provide secure access to VPC resources. Connection logs record user logins, session durations, and other critical information. Without logging, unauthorized access, data breaches, or lateral movement within the VPC may go undetected, hindering incident response and security investigations. This lack of visibility increases the attack surface and the risk of successful compromise.

The impact of this misconfiguration is the inability to monitor and detect suspicious activities on the VPN. This lack of auditability makes it difficult to identify security incidents, investigate breaches, and meet compliance requirements. Enabling connection logging is crucial for maintaining security posture and minimizing the risk of successful attacks.

To mitigate this risk, enable client connection logging on all AWS EC2 Client VPN endpoints. Regularly review logs for anomalous activity. Implement robust security monitoring and intrusion detection systems to identify unauthorized access attempts, even if connection logging is not immediately available. Consider integrating the logs with a Security Information and Event Management (SIEM) system for centralized monitoring and analysis.

### Remediation

**Manual steps:**

EC2 Client VPN Endpoint - Manual remediation steps:

To enable connection logging for a new Client VPN endpoint, follow these steps:

1. Sign into the AWS console and navigate to the Amazon VPC console
2. In the navigation pane, choose 'Client VPN Endpoints'
3. Select the 'Client VPN endpoint', choose 'Actions', and then choose 'Modify Client VPN endpoint'
4. Under 'Connection logging', turn on 'Enable log details on client connections'
5. For 'CloudWatch Logs log group name', choose the name of the CloudWatch Logs log group
6. (Optional) For 'CloudWatch Logs log stream name', choose the name of the CloudWatch Logs log stream
7. Choose 'Modify Client VPN endpoint'


---

# 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-ec2-client-vpn-endpoints-client-connection-logging-disabled.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.
