> 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-dataproc-cluster-on-gke-is-using-default-network.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# GCP Dataproc Cluster on GKE is using default network

### Synopsis

| Field               | Value                                                |
| ------------------- | ---------------------------------------------------- |
| Rule Type           | Detection                                            |
| Finding Type        | GCP Dataproc Cluster on GKE is using default network |
| Finding ID          | 60001524                                             |
| Generates a Finding | This detection rule also generates a finding         |
| Severity            | Medium                                               |
| Category            | CONFIGURATION                                        |
| Cloud Providers     | GCP                                                  |
| Platform Module     | CSPM                                                 |
| Asset Types         | GOOGLE\_DATAPROC\_CLUSTERS                           |

### Description

Dataproc clusters on Google Kubernetes Engine (GKE) using the default network in GCP pose a significant security risk. This misconfiguration allows broad, unrestricted communication between all instances within the default network, bypassing necessary security controls.

The default network lacks essential security features like segmentation and fine-grained control over network traffic. It offers no inherent isolation between different workloads, increasing the risk of lateral movement and data breaches. Attackers could exploit this lack of isolation to compromise multiple systems, potentially accessing sensitive data or disrupting operations.

The impact of this misconfiguration is far-reaching. It increases the attack surface, exposes sensitive data to unauthorized access, and hinders compliance efforts. A custom Virtual Private Cloud (VPC) provides robust security through subnets, firewall rules, and improved network segmentation, mitigating these risks. Implementing these controls enhances security posture and reduces the likelihood of successful attacks.

To remediate this, use a custom VPC network with appropriately configured subnets and firewall rules. Restrict traffic flow between resources based on least privilege principles. Ensure proper segmentation of workloads and implement robust access controls to isolate sensitive data. Regularly review and update network configurations to maintain security.

### Remediation

VPC Network cannot be changed for existing Dataproc Clusters on GKE. A new Dataproc cluster should be created on GKE cluster with appropriate network.

To create a new Dataproc cluster on GKE, please refer to the steps below:

1. Login to the GCP console
2. Navigate to the 'Dataproc' service
3. In side panel, under 'Jobs on Clusters', go to 'Clusters'
4. Click 'CREATE CLUSTER' button
5. Click 'CREATE' for 'Cluster on GKE'
6. Select 'Set up cluster' tab
7. Under 'Kubernetes Cluster' section, click 'BROWSE'
8. Select appropriate GKE from the list which is not using 'default' network
9. Configure rest of the cluster as required
10. Click '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/gcp-dataproc-cluster-on-gke-is-using-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.
