turbot/terraform_azure_compliance

Query: application_gateway_uses_https_listener

Usage

powerpipe query terraform_azure_compliance.query.application_gateway_uses_https_listener

Steampipe Tables

SQL

select
address as resource,
case
when (attributes_std -> 'http_listener' ->> 'protocol') = 'Https' then 'ok'
else 'alarm'
end status,
split_part(address, '.', 2) || case
when (attributes_std -> 'http_listener' ->> 'protocol') = 'Https' then ' uses HTTPS listener'
else ' does not use HTTPS listener'
end || '.' reason
, path || ':' || start_line
from
terraform_resource
where
type = 'azurerm_application_gateway';

Controls

The query is being used by the following controls: