turbot/steampipe-mod-azure-insights

Dashboard: Azure SQL Database Inventory Report

This report answers the following questions:

  • How many SQL databases are there across my subscriptions?
  • What is the status and edition of each database?
  • Which databases are part of elastic pools?
  • What service tiers are being used?
  • Which databases have zone redundancy enabled?
  • Which databases have read scale enabled?
  • How are databases distributed across servers, subscriptions, resource groups, and regions?

The inventory report includes:

  • Total count of SQL databases
  • Detailed list of all databases with:
    • Database name and server name
    • Status and creation date
    • Edition and service tier information
    • Elastic pool configuration
    • Performance and redundancy settings
    • 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 SQL Database Inventory Report dashboard.

You could also snapshot and share results via Turbot Pipes:

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

Queries

This dashboard uses the the following queries:
select
count(*) as "Databases"
from
azure_sql_database;

Tags