turbot/azure_compliance

Query: appservice_web_app_slot_use_https

Usage

powerpipe query azure_compliance.query.appservice_web_app_slot_use_https

SQL

select
s.id as resource,
case
when https_only then 'ok'
else 'alarm'
end as status,
case
when https_only then name || ' https-only accessible enabled.'
else name || ' https-only accessible disabled.'
end as reason
, s.resource_group as resource_group
, sub.display_name as subscription
from
azure_app_service_web_app_slot as s,
azure_subscription as sub
where
sub.subscription_id = s.subscription_id;

Controls

The query is being used by the following controls: