turbot/steampipe-mod-guardrails-insights

Dashboard: Turbot Guardrails Controls Dashboard

This dashboard answers the following questions:

  • How many alerts across workspaces?
  • What are the Top 20 control types in alert?
This dashboard contains 3 cards and 1 table.

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 Controls Dashboard dashboard.

You could also snapshot and share results via Turbot Pipes:

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

Queries

This dashboard uses the the following queries:
select
case when count(*) > 0 then count(*) else '0' end as value,
'Alarm' as label,
case when count(*) = 0 then 'ok' else 'alert' end as "type"
from
guardrails_control
where
state = 'alarm';

Tags