turbot/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,
azure_subscription sub;

Controls

The query is being used by the following controls: