turbot/terraform_azure_compliance

Query: storage_account_secure_transfer_required_enabled

Usage

powerpipe query terraform_azure_compliance.query.storage_account_secure_transfer_required_enabled

Steampipe Tables

SQL

select
address as resource,
case
when (attributes_std -> 'enable_https_traffic_only') is null then 'ok'
when (attributes_std -> 'enable_https_traffic_only') :: bool then 'ok'
else 'alarm'
end status,
split_part(address, '.', 2) || case
when (attributes_std -> 'enable_https_traffic_only') is null then ' encryption in transit enabled'
when (attributes_std -> 'enable_https_traffic_only') :: bool then ' encryption in transit enabled'
else ' encryption in transit not enabled'
end || '.' reason,
path || ':' || start_line
from
terraform_resource
where
type = 'azurerm_storage_account';

Controls

The query is being used by the following controls: