turbot/azure_compliance

Query: batch_account_identity_provider_enabled

Usage

powerpipe query azure_compliance.query.batch_account_identity_provider_enabled

SQL

select
b.id as resource,
case
when identity ->> 'type' = 'None' then 'alarm'
else 'ok'
end as status,
case
when identity ->> 'type' = 'None' then b.name || ' identity provider disabled.'
else b.name || ' identity provider enabled.'
end as reason,
b.resource_group as resource_group,
sub.display_name as subscription
from
azure_batch_account as b,
azure_subscription as sub
where
sub.subscription_id = b.subscription_id;

Controls

The query is being used by the following controls: