turbot/azure_compliance

Query: appservice_web_app_use_https

Usage

powerpipe query azure_compliance.query.appservice_web_app_use_https

SQL

select
app.id as resource,
case
when not https_only then 'alarm'
else 'ok'
end as status,
case
when not https_only then name || ' does not redirect all HTTP traffic to HTTPS.'
else name || ' redirects all HTTP traffic to HTTPS.'
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: