turbot/steampipe-mod-azure-insights

Dashboard: Azure Compute Virtual Machine Dashboard

This dashboard answers the following questions:

  • How many virtual machines are in each subscription, resource group and region?
  • How many public virtual machines are there?
  • How many virtual machines do not have vulnerability assessment enabled?
  • How many virtual machines are not connected to a network?
  • What are my most used virtual machines by CPU utilization?
This dashboard contains 6 cards.

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 Compute Virtual Machine Dashboard dashboard.

You could also snapshot and share results via Turbot Pipes:

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

Queries

This dashboard uses the the following queries:
select
count(*) as value,
'Publicly Accessible' as label,
case count(*) when 0 then 'ok' else 'alert' end as "type"
from
azure_compute_virtual_machine
where
public_ips is not null

Tags