> 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-key-vault-firewall-is-not-enabled.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Azure Key Vault Firewall is not enabled

### Synopsis

| Field               | Value                                        |
| ------------------- | -------------------------------------------- |
| Rule Type           | Detection                                    |
| Finding Type        | Azure Key Vault Firewall is not enabled      |
| Finding ID          | 60000546                                     |
| Generates a Finding | This detection rule also generates a finding |
| Severity            | High                                         |
| Category            | CONFIGURATION                                |
| Cloud Providers     | AZURE                                        |
| Platform Module     | CSPM                                         |
| Asset Types         | AZURE\_KEY\_VAULT                            |

### Description

Azure Key Vaults with disabled firewalls pose a significant security risk, allowing unauthorized access to sensitive secrets. This misconfiguration exposes the Key Vault to attacks from untrusted IPs.

Azure Key Vault's firewall feature controls network access to the vault. Disabling it removes this crucial layer of protection, potentially allowing attackers to access secrets without authentication. Compromised secrets can lead to data breaches, service disruptions, and account takeovers.

The impact of this misconfiguration is severe. Attackers can steal encryption keys, certificates, and other sensitive data, leading to significant financial losses, reputational damage, and regulatory non-compliance. Enabling the firewall ensures only authorized IP addresses can access the Key Vault, limiting the attack surface.

To mitigate this risk, enable the firewall on all Azure Key Vaults and configure it to only allow access from trusted IP addresses or virtual networks. Regularly review and update the allowed IP list to maintain a strong security posture.

### Remediation

1. Log in to Azure portal
2. Navigate to 'Key vaults', and select the reported key vault from the list
3. Under 'Settings' select 'Networking'
4. In order to "Allow public access from specific virtual networks and IP addresses", Click on 'Allow public access from specific virtual networks and IP addresses' Under 'Firewalls and virtual networks'. Add 'IPv4 address or CIDR'.
5. In order to disable public access, Click on 'Disable public access'.
6. Click on 'Save'.


---

# 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-key-vault-firewall-is-not-enabled.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.
