Control: Function apps should only be accessible over HTTPS
Description
Use of HTTPS ensures server/service authentication and protects data in transit from network layer eavesdropping attacks.
Usage
Run the control in your terminal:
powerpipe control run azure_compliance.control.appservice_function_app_only_https_accessible
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run azure_compliance.control.appservice_function_app_only_https_accessible --share
SQL
This control uses a named query:
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 subscriptionfrom azure_app_service_function_app as app, azure_subscription as subwhere sub.subscription_id = app.subscription_id;