> 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-machine-learning-workspace-storage-account-datastore-using-account-key-based-authentication.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Azure Machine Learning workspace Storage account Datastore using Account key based authentication

### Synopsis

| Field               | Value                                                                                             |
| ------------------- | ------------------------------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                                         |
| Finding Type        | Azure Machine Learning workspace Storage account Datastore using Account key based authentication |
| Finding ID          | 60001471                                                                                          |
| Generates a Finding | This detection rule also generates a finding                                                      |
| Severity            | Medium                                                                                            |
| Category            | CONFIGURATION                                                                                     |
| Cloud Providers     | AZURE                                                                                             |
| Platform Module     | CSPM                                                                                              |
| Asset Types         | AZURE\_MACHINE\_LEARNING\_DATASTORES                                                              |
| ATT\&CK Tactic      | TA0112 (TA0112)                                                                                   |
| ATT\&CK Technique   | T1685 (T1685)                                                                                     |

### Description

Azure Machine Learning workspaces using account key authentication for storage account datastores present a significant security risk. Account keys provide unrestricted access, enabling attackers to completely control the storage account's data if compromised.

The service utilizes Azure Machine Learning's datastore feature to interact with storage accounts. Employing account keys for authentication bypasses granular access controls and time-limiting mechanisms. This misconfiguration exposes sensitive data to unauthorized access and potential data breaches or manipulation, leading to significant operational disruptions and compliance violations.

The impact of this misconfiguration is total data compromise, including sensitive model training data and intellectual property. Restricting access using more granular mechanisms, such as SAS tokens, mitigates this risk. SAS tokens provide fine-grained control and time-bound access, limiting the scope and duration of potential damage from compromised credentials.

To remediate this, implement SAS tokens for authenticating Azure Machine Learning datastores. Configure your workspaces to utilize SAS tokens with appropriately restricted permissions and expiration times. Regularly rotate these tokens to further minimize the impact of any potential compromise. This ensures that only authorized entities with the necessary permissions can access the data, reducing the attack surface and improving overall security.

### Remediation

**Manual steps:**

Azure Machine Learning Datastores - Manual remediation steps:

1. Log in to Azure Portal and search for 'Azure Machine Learning'
2. Select 'Azure Machine Learning'
3. Select the Azure Machine Learning Workspace that the reported Datastore is associated with
4. On the 'Overview' page, click the 'Studio web URL' link to log in to Azure ML Studio
5. A new tab will open for Azure ML Studio
6. In the left panel, under 'Assets' section, click on the 'Data'
7. Select the 'Datastores' tab at the top
8. Click on the reported Datastore
9. Click on the 'Update authentication' tab at the top
10. A side panel will appear on the right, configure the 'Authentication type' as 'SAS token' and enter the token value
11. Click '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-machine-learning-workspace-storage-account-datastore-using-account-key-based-authentication.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.
