Azure Firewall v2
Manage Azure Firewall policies and IP groups
Blocks and unblocks IP addresses on Azure Firewall through its IP groups, manages firewalls and policies, and sends any Azure Resource Manager request.
azure-firewall-v2_3.0.1.tgz
Community code that runs on your platform. A maintainer reviewed this exact source; the download is rebuilt from it. Follow the to install it.
Connector for Azure Firewall v2 (version 3.0.1). It manages Azure Firewalls, firewall policies, rule collection groups and IP groups through Azure Resource Manager. Block IP and Unblock IP add or remove addresses and CIDR ranges in a firewall IP group that a policy rule references, and return what changed. Get Service Tag lists service tag address prefixes for a region. Execute API Request sends any ARM path under /subscriptions/ or /providers/ with the connector's own token, for operations this connector does not wrap. Authentication is a Microsoft Entra ID app registration with application permissions (client credentials). The app needs Network Contributor on the resource group that holds the firewalls, policies and IP groups. Live-tested on FortiSOAR 8.0.1 against a Basic-tier Azure Firewall in a lab resource group: every operation ran, and the success and error mocks are captured from that run. The firewall, its public IPs, its policy and its IP group were created for the run and deleted by the connector's delete operations.
Not live-tested
- The 429 status is synthetic: Azure Resource Manager throttling cannot be provoked on demand.
- Changes from version 2 are breaking: the on-behalf-of user authentication mode is removed, and Block IP and Unblock IP return a structured result instead of the raw IP group.
Configuration · 9 fields
- Server URL
resourcetext requiredAzure Resource Manager host. Leave as the default for public Azure.
Default
https://management.azure.com - Tenant ID
tenant_idtext requiredDirectory (tenant) ID of the Entra ID tenant that holds the subscription.
- Client ID
client_idtext requiredApplication (client) ID of the Entra ID app registration that calls ARM.
- Client Secret
client_secretpassword requiredClient secret of the app registration.
- Subscription ID
subscription_idtext requiredAzure subscription that holds the firewall resources.
- Resource Group Name
resource_group_nametext requiredResource group that holds the firewalls, policies and IP groups the operations act on.
- API Version
api_versiontext requiredMicrosoft.Network API version used for ARM calls.
Default
2024-05-01 - Entra ID Authority Host
authority_hosttextLogin authority. Leave empty for public Azure (login.microsoftonline.com).
- Verify SSL
verify_sslcheckboxVerify TLS certificates when calling Entra ID and ARM.
Default
true
Operations · 19
Get Firewall 1 param
get_firewallget_firewallRetrieves an Azure Firewall in the configured resource group by name.
- Firewall Name
firewall_nametext requiredName of the Azure Firewall.
Delete Firewall 1 param
delete_firewalldelete_firewallDeletes an Azure Firewall in the configured resource group. The firewall stops billing once deleted.
- Firewall Name
firewall_nametext requiredName of the Azure Firewall to delete.
Update Firewall Tags 2 params
update_firewall_tagsupdate_firewall_tagsMerges tags into an Azure Firewall. Existing tags with other keys are kept.
- Firewall Name
firewall_nametext requiredName of the Azure Firewall.
- Tags
tagsjson requiredTags to merge, as a JSON object of string values.
Default
{"tag1": "value1"}
List Learned Prefixes 1 param
list_learned_prefixeslist_learned_prefixesLists the IP prefixes an Azure Firewall learned for forced tunnelling (learnedIPPrefixes). Empty when forced tunnelling is not configured.
- Firewall Name
firewall_nametext requiredName of the Azure Firewall.
Get Firewalls List 1 param
get_firewalls_listget_firewalls_listLists Azure Firewalls in the resource group or the whole subscription.
- Scope
fetch_usingselect requiredResource Group or Subscription scope.
Default
Resource GroupOptions SubscriptionResource Group
Get Firewall Policy 1 param
get_firewall_policyget_firewall_policyRetrieves a firewall policy by name.
- Firewall Policy Name
firewall_policy_nametext requiredName of the firewall policy.
Delete Firewall Policy 1 param
delete_firewall_policydelete_firewall_policyDeletes a firewall policy. The policy must not be attached to a firewall.
- Firewall Policy Name
firewall_policy_nametext requiredName of the firewall policy to delete.
Update Firewall Policy Tags 2 params
update_firewall_policy_tagsupdate_firewall_policy_tagsMerges tags into a firewall policy. Existing tags with other keys are kept.
- Firewall Policy Name
firewall_policy_nametext requiredName of the firewall policy.
- Tags
tagsjson requiredTags to merge, as a JSON object of string values.
Default
{"tag1": "value1"}
Get Firewall Policies List 1 param
get_firewall_policiesget_firewall_policiesLists firewall policies in the resource group or the whole subscription.
- Scope
fetch_usingselect requiredResource Group or Subscription scope.
Default
Resource GroupOptions SubscriptionResource Group
Get Firewall Policy Rule Collection Group 2 params
get_firewall_policy_rule_collectionget_firewall_policy_rule_collectionRetrieves one rule collection group of a firewall policy.
- Firewall Policy Name
firewall_policy_nametext requiredName of the firewall policy.
- Rule Collection Group Name
rule_collection_group_nametext requiredName of the rule collection group.
Delete Firewall Policy Rule Collection Group 2 params
delete_firewall_policy_rule_collectiondelete_firewall_policy_rule_collectionDeletes one rule collection group of a firewall policy.
- Firewall Policy Name
firewall_policy_nametext requiredName of the firewall policy.
- Rule Collection Group Name
rule_collection_group_nametext requiredName of the rule collection group to delete.
Get Firewall Policy Rule Collection Groups List 1 param
get_firewall_policy_rule_collection_groupsget_firewall_policy_rule_collection_groupsLists the rule collection groups of a firewall policy.
- Firewall Policy Name
firewall_policy_nametext requiredName of the firewall policy.
Get Firewall IP Group 1 param
get_ip_groupget_ip_groupRetrieves a firewall IP group by name.
- IP Group Name
ip_group_nametext requiredName of the IP group.
Delete Firewall IP Group 1 param
delete_ip_groupdelete_ip_groupDeletes a firewall IP group.
- IP Group Name
ip_group_nametext requiredName of the IP group to delete.
Get IP Groups List 1 param
get_all_ip_groupget_all_ip_groupLists IP groups in the resource group or the whole subscription.
- Scope
fetch_usingselect requiredResource Group or Subscription scope.
Default
Resource GroupOptions SubscriptionResource Group
Get Service Tag 1 param
get_service_tagget_service_tagLists the Azure service tags (address prefixes) for a region.
- Location
locationtext requiredAzure region name, for example eastus.
Block IP 2 params
block_ipblock_ipAdds IP addresses or CIDR ranges to a firewall IP group that a policy rule blocks. Addresses already in the group are reported, not added again.
- IP Group Name
ip_group_nametext requiredName of the IP group the policy blocks.
- IP Addresses
ipstext requiredComma-separated IPv4/IPv6 addresses or CIDR ranges.
Unblock IP 2 params
unblock_ipunblock_ipRemoves IP addresses or CIDR ranges from a firewall IP group. Addresses not in the group are reported, not an error.
- IP Group Name
ip_group_nametext requiredName of the IP group the policy blocks.
- IP Addresses
ipstext requiredComma-separated IPv4/IPv6 addresses or CIDR ranges.
Execute API Request 5 params
execute_api_requestexecute_api_requestCalls any Azure Resource Manager path with the connector's own credentials. Use for operations this connector does not wrap. Endpoint is a path such as /subscriptions/.../providers/Microsoft.Network/...
- Method
methodselect requiredHTTP method.
Default
GETOptions GETPUTPATCHPOSTDELETE - Endpoint
endpointtext requiredARM path starting with /subscriptions/ or /providers/.
- Query Parameters
paramsjsonExtra query parameters as a JSON object.
- Request Body
bodyjsonJSON body (object or JSON string) for PUT, PATCH or POST.
- API Version
api_versiontextOverrides the connector API version for this call.