turbot/azure_insights

Query: app_service_web_app_http_logging_count

Usage

powerpipe query azure_insights.query.app_service_web_app_http_logging_count

SQL

select
count(*) as value,
'HTTP Logging Disabled' as label,
case
when count(*) = 0 then 'ok'
else 'alert'
end as type
from
azure_app_service_web_app
where
not (
configuration -> 'properties' ->> 'httpLoggingEnabled'
) :: boolean;

Dashboards

The query is used in the dashboards: