> 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-compute-engine-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 Compute Engine is using default network

### Synopsis

| Field               | Value                                                           |
| ------------------- | --------------------------------------------------------------- |
| Rule Type           | Detection                                                       |
| Finding Type        | GCP Dataproc Cluster on Compute Engine is using default network |
| Finding ID          | 60001523                                                        |
| 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

GCP Dataproc clusters deployed on the default network pose significant security risks due to its inherent lack of security controls and segmentation. This misconfiguration exposes the cluster to unauthorized access and potential data breaches.

The default network in GCP offers minimal security controls, allowing broad access between resources within the network. This lack of isolation increases the attack surface, enabling lateral movement and unauthorized access to sensitive data within the Dataproc cluster. Attackers could exploit this misconfiguration to gain access to the cluster and its underlying resources, potentially leading to data exfiltration or disruption of services.

The impact of this misconfiguration could range from unauthorized access to sensitive data and system compromise to complete data loss. Using a custom Virtual Private Cloud (VPC) network with appropriate firewall rules, subnets, and access controls enhances security, promotes better resource organization, and enables compliance with security regulations. Implementing robust network segmentation is crucial for isolating sensitive workloads and minimizing the impact of potential breaches.

To mitigate this risk, use a custom VPC network specifically for your Dataproc cluster. Configure appropriate firewall rules to restrict inbound and outbound traffic, allowing only necessary connections. Utilize subnets to isolate resources and apply appropriate Identity and Access Management ('IAM') policies to limit access to authorized users and services only. Regularly review and update network configurations to maintain a strong security posture.

### Remediation

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

To create a new Dataproc cluster on Compute Engine, 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 Compute Engine'
6. Select 'Set up cluster' tab
7. Under 'Network Configuration' section, select 'Networks in this project' radio button
8. Select appropriate 'Primary network' and 'Subnetwork' from drop down (avoid 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-compute-engine-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.
