> 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/gcp-kubernetes-engine-clusters-using-the-default-network.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# GCP Kubernetes Engine Clusters using the default network

### Synopsis

| Field               | Value                                                    |
| ------------------- | -------------------------------------------------------- |
| Rule Type           | Detection                                                |
| Finding Type        | GCP Kubernetes Engine Clusters using the default network |
| Finding ID          | 60000257                                                 |
| Generates a Finding | This detection rule also generates a finding             |
| Severity            | Medium                                                   |
| Category            | CONFIGURATION                                            |
| Cloud Providers     | GCP                                                      |
| Platform Module     | CSPM                                                     |
| Asset Types         | GOOGLE\_KUBERNETES\_ENGINE\_CONTAINER\_CLUSTER           |
| ATT\&CK Tactic      | TA0112 (TA0112)                                          |
| ATT\&CK Technique   | T1685 (T1685)                                            |

### Description

Google Kubernetes Engine (GKE) clusters utilizing the default network pose a significant security risk. Using the default network leaves clusters vulnerable to unauthorized access and data breaches due to inadequate network segmentation and control.

The default network in GKE provides basic networking capabilities but lacks granular control over ingress and egress traffic. This misconfiguration exposes the cluster to potential attacks from untrusted IP addresses. Attackers could exploit this lack of network segmentation to gain unauthorized access, leading to data exfiltration, service disruptions, and potentially complete cluster compromise.

The impact of this misconfiguration can be severe, ranging from data breaches and financial losses to reputational damage and regulatory non-compliance. Employing a custom network allows for fine-grained control over network traffic, enabling the implementation of security measures such as firewalls and network access lists to restrict access based on IP addresses, ports, and protocols. This approach significantly reduces the attack surface and strengthens the overall security posture.

To mitigate this risk, create and assign a custom Virtual Private Cloud (VPC) network to your GKE clusters. Implement appropriate firewall rules to control inbound and outbound traffic. Regularly review and update these rules to reflect evolving security needs.

### Remediation

**Manual steps:**

Google Kubernetes Engine Container Cluster - Manual remediation steps:

You cannot change the network attached to an existing GKE cluster. To resolve this alert, create a new cluster with a custom network that meets your requirements, then migrate the cluster data from the reported cluster to this newly created GKE cluster and delete the reported GKE cluster.

To create new Kubernetes engine cluster with the custom network, perform the following:

1. Login to GCP Portal
2. Go to Kubernetes Engine (Left Panel)
3. Select Kubernetes clusters
4. Click on CREATE CLUSTER button
5. Set new cluster parameters as per your requirement and make sure 'Network' is set to other than 'default' under Networking section.
6. Click on Save

To delete reported Kubernetes engine cluster, perform the following:

1. Login to GCP Portal
2. Go to Kubernetes Engine (Left Panel)
3. Select Kubernetes clusters
4. Click on reported Kubernetes cluster
5. Click on the DELETE button
6. On 'Delete a cluster' popup dialog, Click on DELETE to confirm the deletion of the cluster.


---

# 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/gcp-kubernetes-engine-clusters-using-the-default-network.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.
