turbot/azure_compliance

Query: appservice_function_app_only_https_accessible

Usage

powerpipe query azure_compliance.query.appservice_function_app_only_https_accessible

SQL

select
app.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
, app.resource_group as resource_group
, sub.display_name as subscription
from
azure_app_service_function_app as app,
azure_subscription as sub
where
sub.subscription_id = app.subscription_id;

Controls

The query is being used by the following controls: