> 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/appsec-rules/iac-security/networking/appsec-azure-250.md).

# Azure Storage Sync Service configured with overly permissive network access misconfiguration detecte

## Rule Details

|                       |                                      |
| --------------------- | ------------------------------------ |
| Cortex AppSec Rule ID | APPSEC\_AZURE\_250                   |
| Category              | Networking                           |
| Provider              | AZURE                                |
| Severity              | HIGH                                 |
| Framework             | Terraform, Terraform Plan            |
| Mapped CSPM/KSPM Rule | 3c244889-e2d5-4f56-93cc-4cd135ccce47 |

## Impact

Azure Storage Sync Services with public network access are vulnerable to unauthorized access. Malicious actors could exploit this misconfiguration to gain entry and potentially compromise the entire network.

The Storage Sync Service manages registered servers and sync groups. Public network access exposes the service to brute-force attacks and other exploitation attempts from untrusted IPs. This bypasses network security controls, increasing the risk of data breaches and lateral movement within the environment.

Compromise could lead to data exfiltration, service disruption, and significant financial losses. Restricting network access to authorized entities only, using private endpoints, minimizes the attack surface and improves the overall security posture.

Implement private endpoints for Storage Sync Services. Restrict network access to only trusted IP addresses or virtual networks. Regularly review and update network configurations to maintain a strong security posture and prevent unauthorized access.

## How to Fix

## Ensure that the `incoming_traffic_policy` for your Azure Storage Sync Service is configured with the least privilege network access and not set to `AllowAllTraffic`. \[source,go]

resource "azurerm\_storage\_sync" "example" { ...

* incoming\_traffic\_policy = "AllowAllTraffic" }

***


---

# 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/appsec-rules/iac-security/networking/appsec-azure-250.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.
