turbot/steampipe-mod-azure-insights

Dashboard: Azure Active Directory Group Detail

This dashboard answers the following questions for each group:

  • How is the group configured?
  • What members are associated with the group?
  • What directory roles are attached to the group?
  • How many owners are there for the group?
  • What relationships does the group have with other resources?
This dashboard contains 2 cards, 1 graph, 1 input and 4 tables.

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 Active Directory Group Detail dashboard.

You could also snapshot and share results via Turbot Pipes:

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

Queries

This dashboard uses the the following queries:
select
dr.display_name as "Display Name",
dr.id as "ID"
from
azuread_directory_role as dr,
jsonb_array_elements(member_ids) as m
where
trim((m::text), '""') = split_part($1, '/', 1)
and dr.tenant_id = split_part($1, '/', 2)
order by
dr.display_name;

Tags