> 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-serverless-batch-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 Serverless Batch is using default network

### Synopsis

| Field               | Value                                                  |
| ------------------- | ------------------------------------------------------ |
| Rule Type           | Detection                                              |
| Finding Type        | GCP Dataproc Serverless Batch is using default network |
| Finding ID          | 60001535                                               |
| Generates a Finding | This detection rule also generates a finding           |
| Severity            | Medium                                                 |
| Category            | CONFIGURATION                                          |
| Cloud Providers     | GCP                                                    |
| Platform Module     | CSPM                                                   |
| Asset Types         | GCLOUD\_DATAPROC\_SERVERLESS\_BATCH                    |

### Description

GCP Dataproc Serverless Batch instances are deployed on the default network, exposing them to unnecessary risks. This misconfiguration increases the attack surface and compromises security posture.

The default network lacks granular control over network traffic and resource isolation. It offers broad access between resources, allowing unauthorized communication between Dataproc instances and other GCP services or external entities. This can lead to data breaches, unauthorized access to sensitive data, and lateral movement within the GCP environment.

This misconfiguration significantly impacts the organization's security and compliance posture. A compromised Dataproc Serverless Batch instance could lead to data loss, service disruption, and reputational damage. Implementing a custom Virtual Private Cloud (VPC) network with appropriate firewall rules and subnets is crucial for enhancing security and mitigating risks.

To remediate this, use a custom VPC network for Dataproc Serverless Batch. Configure appropriate firewall rules to restrict inbound and outbound traffic to only necessary services and IP addresses. Segment your network using subnets to isolate resources and enhance security. Utilize private Google Access for secure communication with Google services.

### Remediation

VPC Network cannot be changed for existing Dataproc Serverless Batch. A new Serverless Batch should be created with appropriate network.

To create a new Dataproc Serverless Batch, please refer to the steps below:

1. Login to the GCP console
2. Navigate to the 'Dataproc' service
3. In side panel, under 'Serverless', go to 'Batches'
4. Click 'CREATE'
5. Under 'Network Configuration' section, select 'Networks in this project' radio button
6. Select appropriate 'Primary network' and 'Subnetwork' from drop down (avoid using 'default' network)
7. Configure rest of the Batch details as required
8. Click 'SUBMIT'

To create a new Dataproc Serverless Batch using template, please refer to the steps below:

1. Login to the GCP console
2. Navigate to the 'Dataproc' service
3. In side panel, under 'Serverless', go to 'Batches'
4. Click 'CREATE FROM TEMPLATE'
5. Under 'Network Configuration' section, select 'Networks in this project' radio button
6. Select appropriate 'Primary network' and 'Subnetwork' from drop down (avoid using 'default' network)
7. Configure rest of the Batch details as required
8. Click 'SUBMIT'


---

# 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-serverless-batch-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.
