vw_firewall_policy_drafts
Creates, updates, deletes, gets or lists a vw_firewall_policy_drafts
resource.
Overview
Name | vw_firewall_policy_drafts |
Type | View |
Id | azure.network.vw_firewall_policy_drafts |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
type as type,
systemData as system_data,
JSON_EXTRACT(properties, '$.basePolicy') as "base_policy",
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",
subscriptionId,
resourceGroupName,
firewallPolicyName
FROM azure.network.firewall_policy_drafts
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND firewallPolicyName = 'replace-me';
SELECT
id as id,
name as name,
type as type,
systemData as system_data,
json_extract_path_text(properties, '$.basePolicy') as "base_policy",
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",
subscriptionId,
resourceGroupName,
firewallPolicyName
FROM azure.network.firewall_policy_drafts
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND firewallPolicyName = 'replace-me';