> 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/azure-function-app-with-public-access-linked-to-blob-storage.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Azure Function App with public access linked to Blob Storage

### Synopsis

| Field               | Value                                                        |
| ------------------- | ------------------------------------------------------------ |
| Rule Type           | Detection                                                    |
| Finding Type        | Azure function app with public access linked to blob storage |
| Finding ID          | 60001504                                                     |
| Generates a Finding | This detection rule also generates a finding                 |
| Severity            | Informational                                                |
| Category            | CONFIGURATION                                                |
| Cloud Providers     | AZURE                                                        |
| Platform Module     | CSPM                                                         |
| Asset Types         | AZURE\_APP\_SERVICE                                          |

### Description

Azure Function App configured with public access and linked to an Azure Blob Storage account presents a significant security misconfiguration. This setup can inadvertently expose sensitive data and application logic to unauthorized entities, creating a broad attack surface for potential exploitation.

Azure Function Apps frequently interact with Blob Storage for data operations. Enabling public access on a Function App allows direct internet exposure, potentially bypassing intended access controls. An attacker could exploit misconfigured Function App code or authentication flaws to gain unauthorized entry, subsequently accessing or manipulating data stored in the connected Blob Storage account. This direct exposure escalates the risk of data compromise.

The impact of this misconfiguration ranges from data exfiltration and integrity breaches to denial of service. Compromised data could lead to regulatory non-compliance, reputational damage, and financial losses. Securing Azure Function Apps and their linked storage is crucial to maintain confidentiality, integrity, and availability of critical business data and services, aligning with least privilege principles.

To mitigate this risk, restrict public access to Azure Function Apps wherever possible. Implement network isolation using Private Endpoints or Virtual Networks for Function Apps and Blob Storage. Ensure robust authentication and authorization mechanisms are in place, such as Managed Identities for Function App access to Blob Storage, limiting the attack surface and protecting data from untrusted IP access.

### Remediation

To restrict access to App Service and secure Azure Blob Storage, refer to the following links for security recommendations:

<https://learn.microsoft.com/en-us/azure/app-service/app-service-ip-restrictions> <https://learn.microsoft.com/en-us/azure/storage/blobs/security-recommendations>


---

# 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/azure-function-app-with-public-access-linked-to-blob-storage.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.
