Control: Ensure that 'Enable Data Access Authentication Mode' is 'Checked'
Description
Data Access Authentication Mode provides a method of uploading or exporting Virtual Machine Disks.
Usage
Run the control in your terminal:
powerpipe control run azure_compliance.control.compute_disk_data_access_auth_mode_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run azure_compliance.control.compute_disk_data_access_auth_mode_enabled --share
SQL
This control uses a named query:
select disk.id as resource, case when data_access_auth_mode = 'AzureActiveDirectory' then 'ok' else 'alarm' end as status, case when data_access_auth_mode = 'AzureActiveDirectory' then disk.name || ' data authentication mode enabled.' else disk.name || ' data authentication mode disabled.' end as reason , disk.resource_group as resource_group , sub.display_name as subscriptionfrom azure_compute_disk disk, azure_subscription subwhere sub.subscription_id = disk.subscription_id;