Risk Level: High (not acceptable risk)
Rule ID: MachineLearning-014
To prevent unauthorized system-wide changes or the installation of malicious software on your compute instances, ensure that root access is disabled for your Azure Machine Learning compute instances.
Disabling root access on Azure Machine Learning compute instances adheres to the Principle of Least Privilege (POLP), minimizing the attack surface. This prevents unauthorized system-wide modifications, reducing the risk of a privilege escalation attack or compromise.
Audit
To determine if root access is disabled for your Azure Machine Learning compute instances, perform the following operations:
Remediation / Resolution
To ensure that root access is disabled for your Microsoft Azure Machine Learning compute instances, perform the following operations:
Disabling root access for Machine Learning compute instances using the Azure Command Line Interface (Azure CLI) is not currently supported.References
- Azure Official Documentation
- What is an Azure Machine Learning compute instance?
- Create an Azure Machine Learning compute instance
- Manage an Azure Machine Learning compute instance
- Azure Command Line Interface (CLI) Documentation
- az account list
- az account set
- az ml workspace list
- az ml compute list
- az ml compute show
Publication date Oct 13, 2025