turbot/azure_compliance

Query: servicebus_namespace_azure_ad_authentication_enabled

Usage

powerpipe query azure_compliance.query.servicebus_namespace_azure_ad_authentication_enabled

SQL

select
a.id as resource,
case
when status = 'Active'
and not disable_local_auth then 'alarm'
else 'ok'
end as status,
case
when status = 'Active'
and not disable_local_auth then a.name || ' namespace not configured with Azure AD authentication.'
else a.name || ' namespace configured with Azure AD authentication.'
end as reason
, a.resource_group as resource_group
, sub.display_name as subscription
from
azure_servicebus_namespace a,
azure_subscription sub;

Controls

The query is being used by the following controls: