vw_firewall_policies
Creates, updates, deletes, gets or lists a vw_firewall_policies
resource.
Overview
Name | vw_firewall_policies |
Type | View |
Id | azure.network.vw_firewall_policies |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
etag as etag,
identity as identity,
type as type,
systemData as system_data,
JSON_EXTRACT(properties, '$.size') as "size",
JSON_EXTRACT(properties, '$.ruleCollectionGroups') as "rule_collection_groups",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.basePolicy') as "base_policy",
JSON_EXTRACT(properties, '$.firewalls') as "firewalls",
JSON_EXTRACT(properties, '$.childPolicies') as "child_policies",
JSON_EXTRACT(properties, '$.threatIntelMode') as "threat_intel_mode",
JSON_EXTRACT(properties, '$.threatIntelWhitelist') as "threat_intel_whitelist",
JSON_EXTRACT(properties, '$.insights') as "insights",
JSON_EXTRACT(properties, '$.snat') as "snat",
JSON_EXTRACT(properties, '$.sql') as "sql",
JSON_EXTRACT(properties, '$.dnsSettings') as "dns_settings",
JSON_EXTRACT(properties, '$.explicitProxy') as "explicit_proxy",
JSON_EXTRACT(properties, '$.intrusionDetection') as "intrusion_detection",
JSON_EXTRACT(properties, '$.transportSecurity') as "transport_security",
JSON_EXTRACT(properties, '$.sku') as "sku",
subscriptionId,
resourceGroupName,
firewallPolicyName
FROM azure.network.firewall_policies
WHERE subscriptionId = 'replace-me';
SELECT
id as id,
name as name,
etag as etag,
identity as identity,
type as type,
systemData as system_data,
json_extract_path_text(properties, '$.size') as "size",
json_extract_path_text(properties, '$.ruleCollectionGroups') as "rule_collection_groups",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.basePolicy') as "base_policy",
json_extract_path_text(properties, '$.firewalls') as "firewalls",
json_extract_path_text(properties, '$.childPolicies') as "child_policies",
json_extract_path_text(properties, '$.threatIntelMode') as "threat_intel_mode",
json_extract_path_text(properties, '$.threatIntelWhitelist') as "threat_intel_whitelist",
json_extract_path_text(properties, '$.insights') as "insights",
json_extract_path_text(properties, '$.snat') as "snat",
json_extract_path_text(properties, '$.sql') as "sql",
json_extract_path_text(properties, '$.dnsSettings') as "dns_settings",
json_extract_path_text(properties, '$.explicitProxy') as "explicit_proxy",
json_extract_path_text(properties, '$.intrusionDetection') as "intrusion_detection",
json_extract_path_text(properties, '$.transportSecurity') as "transport_security",
json_extract_path_text(properties, '$.sku') as "sku",
subscriptionId,
resourceGroupName,
firewallPolicyName
FROM azure.network.firewall_policies
WHERE subscriptionId = 'replace-me';