turbot/terraform_azure_compliance

Query: firewall_threat_intel_mode_set_to_deny

Usage

powerpipe query terraform_azure_compliance.query.firewall_threat_intel_mode_set_to_deny

Steampipe Tables

SQL

select
address as resource,
case
when (attributes_std ->> 'threat_intel_mode') = 'Deny' then 'ok'
else 'alarm'
end status,
split_part(address, '.', 2) || case
when (attributes_std ->> 'threat_intel_mode') = 'Deny' then ' threat intel mode is set to deny'
else ' threat intel mode is not set to deny'
end || '.' reason
, path || ':' || start_line
from
terraform_resource
where
type = 'azurerm_firewall';

Controls

The query is being used by the following controls: