Azure Network Security Group use cases
Check an NSG's inventory, block a source address with a deny rule and roll the block back, and provision and retire a test NSG.
soc-use-cases-azure-network-security-group-v2-1.0.0.json
Sanitized by the pipeline and shipped inactive. Follow the before turning it on.
Needs a connector that isn't on the Content Hub
azure-network-security-group-v2 - you'll need to obtain this custom connector (or build an equivalent) before it will run.
Four use-case playbooks for the Azure Network Security Group v2 connector (azure-network-security-group-v2, 2.0.1). NSG Inventory Check reports whether a named NSG exists. NSG Block Source IP adds a deny rule for one source address at a free priority (default 200), or reports that it is already there. NSG Roll Back IP Block removes that rule again. NSG Provision and Retire creates a test NSG when its name is free and deletes it afterwards.
Needs the connector "Manage Azure Network Security Groups and their rules" (azure-network-security-group-v2, 2.0.1), which is in this catalogue. Install it and configure it with an Entra ID app registration that has Network Contributor on the resource group.
Outcomes: found or missing; blocked or already_blocked; rolled_back or not_blocked; retired or already_present.
Live-tested on FortiSOAR 8.0.1 against an Azure subscription: every branch of all four playbooks ran to completion. Not live-tested: none.