🛡️ Azure Managed Disk Data Access Auth Mode is not set to Azure Active Directory🟢
- Contextual name: 🛡️ Managed Disk Data Access Auth Mode is not set to Azure Active Directory🟢
- ID:
/ce/ca/azure/virtual-machine/managed-disk-data-access-auth-mode - Tags:
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logic
Description
Description
Data Access Authentication Mode provides a method of uploading or exporting Virtual Machine Disks.
Rationale
Enabling
data access authentication modeadds a layer of protection using an Entra ID role to further restrict users from creating and using Secure Access Signature (SAS) tokens for exporting a detached managed disk or virtual machine state. Users will need theData operator for managed diskrole within Entra ID in order to download a VHD or VM Guest state using a secure URL.Impact
In order to apply this setting, the virtual machine to which the disk or disks are attached will need to be powered down and have their disk detached. Users without the
Data operator for managed diskrole within Entra ID will not be able to export VHD or VM Guest state using the secure download URL.Audit
From Azure Portal
Part A. Select the Virtual Machine to Evaluate
- Using the search bar, search for and open the
Virtual Machinesservice.- Click on the name of the Virtual Machine to be audited.
... see more
Remediation
Remediation
From Azure Portal
Part A. Select the Virtual Machine to Remediate
- Using the search bar, search for and open the
Virtual Machinesservice.- Click on the name of the Virtual Machine to be remediated.
Part B. Remediate each Virtual Machine Disk individually
- From the selected Virtual Machine resource window, expand the
Settingsmenu item and clickDisks.- For each disk, click the name of the disk to open the disk resource window.
- From the selected Disk resource window, expand the
Settingsmenu item, and clickDisk Export.Check the checkbox next to
Enable Data Access Authentication Mode.Repeat Part B for each Disk attached to a VM.
Repeat Parts A and B to remediate all Disks in all VMs.
From Azure CLI
Ensure that each disk is detached from its associated
Virtual Machinebefore proceeding. Once detached, run the following for each disk:az disk update --name <disk_name> --resource-group <resource_group_name> --data-access-auth-mode AzureActiveDirectoryFrom PowerShell
... see more
policy.yaml
Linked Framework Sections
| Section | Sub Sections | Internal Rules | Policies | Flags | Compliance |
|---|---|---|---|---|---|
| 💼 CIS Azure v3.0.0 → 💼 8.6 Ensure that 'Enable Data Access Authentication Mode' is 'Checked' (Automated) | 1 | no data | |||
| 💼 Cloudaware Framework → 💼 Secure Access | 57 | no data |