turbot/azure_compliance

Query: appservice_web_app_remote_debugging_disabled

Usage

powerpipe query azure_compliance.query.appservice_web_app_remote_debugging_disabled

SQL

select
app.id as resource,
case
when kind = 'api' then 'skip'
when configuration -> 'properties' ->> 'remoteDebuggingEnabled' = 'false' then 'ok'
else 'alarm'
end as status,
case
when kind = 'api' then name || ' is of ' || kind || ' type.'
when configuration -> 'properties' ->> 'remoteDebuggingEnabled' = 'false' then name || ' remote debugging disabled.'
else name || ' remote debugging enabled.'
end as reason
, app.resource_group as resource_group
, sub.display_name as subscription
from
azure_app_service_web_app as app,
azure_subscription as sub
where
sub.subscription_id = app.subscription_id;

Controls

The query is being used by the following controls: