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

# Azure Key Vault audit logging is disabled

### Synopsis

| Field               | Value                                        |
| ------------------- | -------------------------------------------- |
| Rule Type           | Detection                                    |
| Finding Type        | Azure Key Vault audit logging is disabled    |
| Finding ID          | 60000224                                     |
| Generates a Finding | This detection rule also generates a finding |
| Severity            | Informational                                |
| Category            | CONFIGURATION                                |
| Cloud Providers     | AZURE                                        |
| Platform Module     | CSPM                                         |
| Asset Types         | AZURE\_KEY\_VAULT                            |
| ATT\&CK Tactic      | TA0112 (TA0112)                              |
| ATT\&CK Technique   | T1685.002 (T1685.002)                        |

### Description

Azure Key Vaults lacking audit logging pose a significant security risk, leaving access and modification events unmonitored. This lack of visibility hinders incident response and compliance efforts.

Azure Key Vault's audit logging functionality records all access attempts and administrative changes. Disabling this feature prevents detection of unauthorized access, data breaches, or malicious modifications to sensitive cryptographic keys and secrets. Attackers could exploit this misconfiguration to steal secrets without triggering alerts.

The impact of this misconfiguration is substantial, potentially leading to data breaches, service disruption, and regulatory non-compliance. Maintaining comprehensive audit logs enables timely detection and remediation of security incidents, strengthens accountability, and aids in meeting compliance requirements.

Enable audit logging on all Azure Key Vaults. Regularly review audit logs for suspicious activity. Implement a system for alerting on critical events within the logs, allowing for immediate response to potential threats. Ensure that storage for these logs is adequately secured and protected from unauthorized access.

### Remediation

**Manual steps:**

Azure Key Vault - Manual remediation steps:

1. Log in to Azure portal
2. Select 'Key vaults'
3. Select the key vault instance to modify
4. Select 'Diagnostic settings' under 'Monitoring'
5. Click on '+Add diagnostic setting'
6. Specify a 'Diagnostic settings name',
7. Under 'Category details' section, Under Log, select 'AuditEvent'
8. Under section 'Destination details',
   1. If you select 'Send to Log Analytics workspace', set the 'Subscription' and 'Log Analytics workspace'
   2. If you select 'Archive to storage account', set the 'Subscription', 'Storage account' and 'Retention (days)'
   3. If you select 'Stream to an event hub', set the 'Subscription', 'Event hub namespace', 'Event hub name' and 'Event hub policy name'
   4. If you select 'Send to partner solution', set the 'Subscription' and 'Destination'
9. 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-audit-logging-is-disabled.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.
