turbot/steampipe-mod-azure-compliance

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 login
powerpipe 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 subscription
from
azure_compute_disk disk,
azure_subscription sub
where
sub.subscription_id = disk.subscription_id;

Tags