turbot/steampipe-mod-azure-compliance

Control: Event Grid topics should have local authentication enabled

Description

This control checks if Event Grid topics have local authentication enabled.

Usage

Run the control in your terminal:

powerpipe control run azure_compliance.control.eventgrid_topic_local_auth_enabled

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run azure_compliance.control.eventgrid_topic_local_auth_enabled --share

SQL

This control uses a named query:

select
a.id as resource,
case
when disable_local_auth then 'alarm'
else 'ok'
end as status,
case
when disable_local_auth then a.name || ' local authentication disabled.'
else a.name || ' local authentication enabled.'
end as reason
, a.resource_group as resource_group
, sub.display_name as subscription
from
azure_eventgrid_domain a,
azure_subscription sub;

Tags