> 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-compute-instance-not-configured-inside-virtual-network.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Azure Machine Learning compute instance not configured inside virtual network

### Synopsis

| Field               | Value                                                                         |
| ------------------- | ----------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                     |
| Finding Type        | Azure Machine Learning compute instance not configured inside virtual network |
| Finding ID          | 60001460                                                                      |
| 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\_COMPUTE                                             |
| ATT\&CK Tactic      | TA0112 (TA0112)                                                               |
| ATT\&CK Technique   | T1685 (T1685)                                                                 |

### Description

Azure Machine Learning compute instances deployed outside a virtual network are exposed to external threats, increasing the risk of unauthorized access and data breaches.

Azure Machine Learning compute instances, by default, can be accessed publicly if not within a virtual network. This misconfiguration allows untrusted IPs direct access, bypassing network security controls. Attackers could exploit this to gain unauthorized access to sensitive data and resources, potentially leading to data exfiltration or malicious code execution.

The impact of this misconfiguration includes data breaches, service disruptions, and significant financial losses due to remediation and potential legal repercussions. Deploying compute instances within a virtual network provides a crucial layer of security by isolating them from the public internet and limiting access to only trusted internal resources.

To mitigate this risk, always deploy Azure Machine Learning compute instances within a virtual network. Configure network security groups (NSGs) to further restrict access based on specific IP addresses or virtual machine identities. Regularly review and update NSG rules to maintain a strong security posture.

### Remediation

**Manual steps:**

Azure Machine Learning Compute - Manual remediation steps:

Note: Configuring an existing Azure Machine Learning compute instance inside a Virtual Network without deleting and recreating it is not supported. To ensure security, it is recommended to set up the compute instance within a Virtual Network from the start.

To create a new compute instance inside a Virtual Network:

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 compute instance 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 'Manage' section, click on the 'Compute'
7. Click 'New' to create a new compute instance
8. In the 'Security' tab, under the 'Virtual network' section, enable the 'Enable virtual network' to configure it within a Virtual network
9. Select 'Review + Create' to create the compute instance


---

# 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-compute-instance-not-configured-inside-virtual-network.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.
