turbot/terraform_azure_compliance

Query: cdn_endpoint_https_enabled

Usage

powerpipe query terraform_azure_compliance.query.cdn_endpoint_https_enabled

Steampipe Tables

SQL

select
address as resource,
case
when (attributes_std -> 'is_https_allowed') = 'false' then 'alarm'
else 'ok'
end status,
split_part(address, '.', 2) || case
when (attributes_std -> 'is_https_allowed') = 'false' then ' HTTPS not allowed'
else ' HTTPS allowed'
end || '.' reason
, path || ':' || start_line
from
terraform_resource
where
type = 'azurerm_cdn_endpoint';

Controls

The query is being used by the following controls: