turbot/steampipe-mod-guardrails-insights

Dashboard: Turbot Guardrails Mods Dashboard

This dashboard answers the following questions:

  • How many mods(AWS, Azure, GCP) are installed across all workspaces?
This dashboard contains 2 cards.

Usage

Install the mod:

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

Start the Powerpipe server:

steampipe service start
powerpipe server

Open http://localhost:9033 in your browser and select Turbot Guardrails Mods Dashboard dashboard.

You could also snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe dashboard run guardrails_insights.dashboard.mod_dashboard --share

Queries

This dashboard uses the the following queries:
select
case
when
title like '@turbot/aws%'
then
'AWS'
when
title like '@turbot/azure%'
then
'Azure'
when
title like '@turbot/gcp%'
then
'GCP'
else 'Others'
end
as "Mod_Platform", count(title)
from
guardrails_resource
where
resource_type_uri = 'tmod:@turbot/turbot#/resource/types/mod'
group by
"Mod_Platform";

Tags