turbot/steampipe-mod-azure-compliance

Query: eventgrid_topic_identity_provider_enabled

Usage

powerpipe query azure_compliance.query.eventgrid_topic_identity_provider_enabled

SQL

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

Controls

The query is being used by the following controls: