Azure_VirtualNetworks_23

Remove unused Network Security Groups

Description

Remove Network Security Groups is it is not associated with Network Interface or Subnet.

Remediation

Perform the following in the Azure Console:

  1. Go to the Azure portal to view your network security groups.
  2. For each Network Security Group
  3. Identify the Network security groups which are not associated with any Network Interface or Subnets.
  4. Select the name of the network security group to delete.
  5. In the network security groups toolbar, select Delete.Then select Yes in the confirmation dialog box.

Perform the following in Azure Command Line Interface 2.0.

  1. To set HTTPS – only traffic value for an existing app, run the following command.
    az network nsg list
  2. Check if any NSG extists which is not associated with Any network Interface or Subnet.Is exists remove it using the command
    az network nsg delete –resource-group –name | –ids

Service

Networking

Severity

Medium

Compliance

Mapping

We are now live on AWS Marketplace.
The integrated view of your cloud infrastructure is now easier than ever!