> 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-used-for-machine-learning-workspace-secrets-storage-is-not-enabled-with-audit.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Azure Key vault used for machine learning workspace secrets storage is not enabled with audit...

### Synopsis

| Field               | Value                                                                                                 |
| ------------------- | ----------------------------------------------------------------------------------------------------- |
| Rule Name           | Azure Key vault used for machine learning workspace secrets storage is not enabled with audit logging |
| Rule Type           | Detection                                                                                             |
| Finding Type        | Azure Key vault used for machine learning workspace secrets storage is not enabled with audit logging |
| Finding ID          | 60000920                                                                                              |
| 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                                                                                     |

### Description

Azure Key vaults storing machine learning workspace secrets lacking audit logging present a significant security risk.

Azure Key vaults provide secure storage for sensitive information, including machine learning workspace secrets. Disabling audit logging prevents monitoring of access attempts, hindering detection of unauthorized access or data breaches. Attackers could potentially exploit this misconfiguration to steal secrets, leading to unauthorized access to the machine learning workspace and its resources.

The impact of this misconfiguration includes data breaches, loss of intellectual property, and potential financial losses. Enabling audit logging provides a crucial audit trail, facilitating investigation and response to security incidents. This best practice ensures accountability and enhances the overall security posture.

To mitigate this, ensure audit logging is enabled on all Azure Key vaults storing machine learning workspace secrets. Regularly review the audit logs for suspicious activity.

### Remediation

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. In the 'Diagnostic setting' page, Select the Logs, Metrics and Destination details as per your business requirements.
7. 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-used-for-machine-learning-workspace-secrets-storage-is-not-enabled-with-audit.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.
