> 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-eks-cluster-public-endpoint-access-overly-permissive-to-all-traffic.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS EKS cluster public endpoint access overly permissive to all traffic

### Synopsis

| Field               | Value                                                                   |
| ------------------- | ----------------------------------------------------------------------- |
| Rule Type           | Detection                                                               |
| Finding Type        | AWS EKS cluster public endpoint access overly permissive to all traffic |
| Finding ID          | 60000698                                                                |
| Generates a Finding | This detection rule also generates a finding                            |
| Severity            | Medium                                                                  |
| Category            | CONFIGURATION                                                           |
| Cloud Providers     | AWS                                                                     |
| Platform Module     | CSPM                                                                    |
| Asset Types         | EKS\_CLUSTER                                                            |
| ATT\&CK Tactic      | TA0112 (TA0112)                                                         |
| ATT\&CK Technique   | T1685 (T1685)                                                           |

### Description

AWS EKS clusters with public endpoints accepting all traffic pose a significant security risk, enabling unauthorized access and potential compromise of the cluster and connected resources.

The Amazon EKS managed Kubernetes API server endpoint, by default, allows all inbound connections. Restricting access only to trusted sources is crucial. Failure to do so exposes the cluster to brute-force attacks, unauthorized API access, and potential lateral movement within the environment, leading to data breaches and service disruption.

Unrestricted access to the EKS cluster API server can result in complete control of the cluster, allowing attackers to deploy malicious workloads, steal sensitive data, and disrupt services. Limiting access to known trusted IP addresses significantly reduces the attack surface and mitigates the risk of unauthorized access.

Implement network access control lists (ACLs) or security groups to restrict inbound traffic to the EKS cluster's endpoint. Configure these to only allow connections from explicitly defined trusted IP addresses or CIDR blocks. Regularly review and update these rules to reflect changes in trusted sources. Utilize IAM roles and Kubernetes RBAC to further control access to the cluster resources.

### Remediation

**Manual steps:**

Amazon EKS - Manual remediation steps:

Either disable public access to your API server so that it's inaccessible from the internet and allow only private access, or restrict traffic solely from known static IP addresses.

For more details on Amazon EKS cluster endpoint access control, follow below mentioned URL:

<https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html>


---

# 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-eks-cluster-public-endpoint-access-overly-permissive-to-all-traffic.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.
