turbot/steampipe-mod-azure-insights

Dashboard: Azure Network Security Group Inventory Report

This report answers the following questions:

  • How many network security groups are there across my subscriptions?
  • What is the provisioning state of each NSG?
  • How many security rules are configured for each NSG?
  • How many default security rules are present?
  • Which NSGs are associated with network interfaces?
  • Which NSGs are associated with subnets?
  • Which NSGs have flow logs enabled?
  • How are NSGs distributed across subscriptions, resource groups, and regions?

The inventory report includes:

  • Total count of network security groups
  • Detailed list of all NSGs with:
    • NSG name and provisioning state
    • Count of security rules (custom and default)
    • Network interface and subnet associations
    • Flow log configuration
    • Resource organization (subscription, resource group, region)
    • Associated tags
This dashboard contains 1 card and 1 table.

Usage

Install the mod:

mkdir dashboards
cd dashboards
powerpipe mod init
powerpipe mod install github.com/turbot/steampipe-mod-azure-insights

Start the Powerpipe server:

steampipe service start
powerpipe server

Open http://localhost:9033 in your browser and select Azure Network Security Group Inventory Report dashboard.

You could also snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe dashboard run azure_insights.dashboard.network_security_group_inventory_report --share

Queries

This dashboard uses the the following queries:
select count(*) as "Network Security Groups" from azure_network_security_group;

Tags