Remediation
From Azure Portal
- Go to
Virtual networks. - Click the name of a virtual network.
- Under
Settings, clickSubnets. - Click the name of a subnet.
- Under
Security, next toNetwork security group, clickNoneto display the drop-down menu. - Select a network security group.
- Click
Save. - Repeat steps 1-7 for each virtual network and subnet requiring remediation.
From Azure CLI
For each subnet requiring remediation, run the following command to associate it with a network security group:
az network vnet subnet update /
--resource-group {{resource-group}} /
--vnet-name {{virtual-network}} /
--name {{subnet}} /
--network-security-group {{network-security-group}}