> 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-configured-with-public-ip.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 configured with public IP

### Synopsis

| Field               | Value                                                             |
| ------------------- | ----------------------------------------------------------------- |
| Rule Type           | Detection                                                         |
| Finding Type        | Azure Machine learning compute instance configured with public IP |
| Finding ID          | 60000985                                                          |
| Generates a Finding | This detection rule also generates a finding                      |
| Severity            | High                                                              |
| 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 configured with public IPs present a significant security risk. Publicly accessible compute instances are vulnerable to unauthorized access and various cyberattacks.

Azure Machine Learning compute instances are typically used for sensitive data processing and model training. Assigning a public IP address directly exposes these instances to the internet, bypassing any network security controls. Attackers can exploit this misconfiguration to gain unauthorized access, potentially leading to data breaches, service disruptions, and intellectual property theft.

The impact of this misconfiguration could be severe, ranging from data loss and financial penalties to reputational damage and legal repercussions. Following the best practice of restricting public access protects sensitive data and maintains the integrity of the machine learning environment. Private networking ensures that only authorized users and systems can access the compute instance.

To mitigate this risk, configure Azure Machine Learning compute instances within a virtual network and use private IP addresses. Employ network security groups (NSGs) to control inbound and outbound network traffic, restricting access only to necessary sources. Consider using Azure Bastion for secure remote access.

### Remediation

**Manual steps:**

Azure Machine Learning Compute - Manual remediation steps:

Note: Disabling a public IP address on an existing Azure Machine Learning compute instance is not supported without deleting and recreating the instance. To secure your instance, it's recommended to configure it without a public IP from the start. Additionally, to update an existing Azure Machine Learning workspace to use a managed virtual network, all compute resources (including compute instances, compute clusters, and managed online endpoints) must first be deleted.

To create a new compute instance with no public IP:

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. Under 'Settings' go to 'Networking' section
5. At the top, select the 'Workspace managed outbound access' tab
6. Select either 'Allow Internet Outbound' or 'Allow Only Approved Outbound' based on your requirements, if one hasn't been chosen already
7. Click on 'Save'
8. On the 'Overview' page, click the 'Studio web URL' link to log in to Azure ML Studio
9. A new tab will open for Azure ML Studio
10. In the left panel, under 'Manage' section, click on the 'Compute'
11. Click 'New' to create a new compute instance
12. In the 'Security' tab, under the 'Virtual network' section, enable the 'No public IP' option to disable the public IP
13. 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-configured-with-public-ip.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.
