Ensures that virtual network subnets are associated with a network security group.
Network security groups filter inbound and outbound traffic for a subnet using security rules. Subnets without an associated network security group do not have this filtering in place and can expose their resources to unauthorized access.
Associate a network security group with each subnet from the subnet security settings.