turbot/azure_compliance

Query: storage_account_uses_azure_resource_manager

Usage

powerpipe query azure_compliance.query.storage_account_uses_azure_resource_manager

SQL

select
s.id as resource,
case
when resource_group is not null then 'ok'
else 'alarm'
end as status,
case
when resource_group is not null then s.title || ' uses azure resource manager.'
else s.title || ' not uses azure resource manager.'
end as reason
, s.resource_group as resource_group
, sub.display_name as subscription
from
azure_storage_account as s,
azure_subscription as sub
where
sub.subscription_id = s.subscription_id;

Controls

The query is being used by the following controls: