turbot/steampipe-mod-azure-compliance

Control: Web app slot 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_web_app_slot_use_https

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run azure_compliance.control.appservice_web_app_slot_use_https --share

SQL

This control uses a named query:

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;

Tags