> 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-control-plane-assigned-multiple-security-groups.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS EKS cluster control plane assigned multiple security groups

### Synopsis

| Field               | Value                                                           |
| ------------------- | --------------------------------------------------------------- |
| Rule Type           | Detection                                                       |
| Finding Type        | AWS EKS cluster control plane assigned multiple security groups |
| Finding ID          | 60000274                                                        |
| Generates a Finding | This detection rule also generates a finding                    |
| Severity            | Informational                                                   |
| Category            | CONFIGURATION                                                   |
| Cloud Providers     | AWS                                                             |
| Platform Module     | CSPM                                                            |
| Asset Types         | EKS\_CLUSTER                                                    |
| ATT\&CK Tactic      | TA0112 (TA0112)                                                 |
| ATT\&CK Technique   | T1685 (T1685)                                                   |

### Description

Multiple security groups assigned to an AWS EKS cluster control plane increases the attack surface and weakens security posture. This misconfiguration allows unintended network access to the cluster's control plane, potentially leading to unauthorized access and compromise.

The EKS control plane manages the Kubernetes cluster, including worker nodes and pods. Assigning multiple security groups can create conflicting rules, inadvertently opening ports and protocols that shouldn't be accessible. Attackers could exploit these misconfigurations to gain unauthorized access to the cluster, leading to data breaches, service disruption, or complete control of the EKS environment.

A compromised EKS control plane can result in the compromise of all resources within the cluster, impacting application availability and data integrity. Best practice dictates a single, well-defined security group for the control plane to minimize the attack surface and precisely control network access. This ensures only necessary traffic reaches the control plane, reducing the risk of unauthorized access.

To mitigate this misconfiguration, ensure each EKS cluster control plane is associated with only one security group. Carefully review and refine the security group rules to allow only necessary inbound and outbound traffic. Regularly audit security group configurations and promptly address any deviations from the intended security posture.

### Remediation

**Manual steps:**

Amazon EKS - Manual remediation steps:

Create a single dedicated VPC security group for your EKS cluster control plane.

From the AWS console a security group cannot be added to, nor removed from, a Kubernetes cluster once it is created. To resolve this alert, create a new cluster with a single dedicated security group as per your requirements, then migrate all required cluster data from the reported cluster to this newly created cluster and delete the reported Kubernetes cluster.

1. Open the Amazon EKS dashboard.
2. Choose Create cluster.
3. On the Create cluster page, fill in the following fields:

   Cluster name

   Kubernetes version

   Role name

   VPC

   Subnets

   Security Groups - Choose your new dedicated control plane security group.

   Endpoint private access

   Endpoint public access

   Logging
4. Choose Create.


---

# 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-control-plane-assigned-multiple-security-groups.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.
