turbot/azure_insights

Query: sql_server_ad_authentication_enabled

Usage

powerpipe query azure_insights.query.sql_server_ad_authentication_enabled

Steampipe Tables

SQL

select
'Azure AD Authentication' as label,
case when server_azure_ad_administrator is not null then 'Enabled' else 'Disabled' end as value,
case when server_azure_ad_administrator is not null then 'ok' else 'alert' end as type
from
azure_sql_server
where
lower(id) = $1
and subscription_id = split_part($1, '/', 3);

Dashboards

The query is used in the dashboards: