> 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-composer-environment-web-server-network-access-control-allows-access-from-all-ip-addresses.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# GCP Composer environment web server network access control allows access from all IP addresses

### Synopsis

| Field               | Value                                                                                          |
| ------------------- | ---------------------------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                                      |
| Finding Type        | GCP Composer environment web server network access control allows access from all IP addresses |
| Finding ID          | 60000856                                                                                       |
| Generates a Finding | This detection rule also generates a finding                                                   |
| Severity            | High                                                                                           |
| Category            | CONFIGURATION                                                                                  |
| Cloud Providers     | GCP                                                                                            |
| Platform Module     | CSPM                                                                                           |
| Asset Types         | GOOGLE\_CLOUD\_COMPOSER\_ENVIRONMENT                                                           |

### Description

Unrestricted network access to Google Cloud Composer environment web servers poses a significant security risk. The web server's default configuration allows connections from all public IP addresses.

GCP Composer environments utilize Airflow, a workflow orchestration platform, whose web server's network access control is misconfigured by default to permit access from any IP address. This open access exposes the environment to unauthorized access attempts, including brute-force attacks targeting administrator credentials. Successful compromise could lead to data breaches and further network exploitation.

Such a misconfiguration could result in unauthorized access to sensitive data processed by Airflow workflows, potentially impacting business operations and compliance. Restricting access to only trusted IP addresses reduces the attack surface and mitigates the risk of unauthorized access.

Implement network access controls to allow only trusted IP addresses to access the Composer environment's web server. Regularly review and update the allowed IP address list, removing any that are no longer needed.

### Remediation

To configure web server network access of an existing Cloud Composer 1 and Cloud Composer 2 environments, follow the steps given below:

1. Login to the GCP console
2. Navigate to the 'Composer' service (Left Panel)
3. Click on the alerting composer environment
4. Click on the 'ENVIRONMENT CONFIGURATION' tab
5. Under 'Network configuration', click on the 'EDIT' button for the 'Web server access control' setting
6. Select 'Allow access only from specific IP addresses'
7. Add the desired IPs and IP ranges to be allowed.
8. Click the 'Save' button.

To configure web server network access of a new Cloud Composer 1 environment, please refer to the URLs given below:

<https://cloud.google.com/composer/docs/how-to/managing/creating#web-server-access>

To configure web server network access of a new Cloud Composer 2 environment, please refer to the URLs given below:

<https://cloud.google.com/composer/docs/composer-2/create-environments#web-server-access>

Note: Cloud Composer 1 is nearing the end of support. The creation of new Cloud Composer 1 environments might be restricted. Further, updates to the existing Cloud Composer 1 environment may be restricted. In such cases, it is recommended to migrate to Cloud Composer 2. To migrate to Cloud Composer 2, please refer to the URLs given below and configure web server network access to limit the access for the new environment:

<https://cloud.google.com/composer/docs/migrate-composer-2-snapshots-af-2>


---

# 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-composer-environment-web-server-network-access-control-allows-access-from-all-ip-addresses.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.
