turbot/steampipe-mod-guardrails-insights

Dashboard: Turbot Guardrails Mod Installed Errors Report

This report answers the following questions:

  • How many Mod Installs are in error?
This dashboard contains 1 card, 1 table and 1 text.

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 Mod Installed Errors Report dashboard.

You could also snapshot and share results via Turbot Pipes:

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

Queries

This dashboard uses the the following queries:
select
case when count(*) > 0 then count(*) else '0' end as value,
'Mod Installed Errors' as label,
case when count(*) = 0 then 'ok' else 'alert' end as "type"
from
guardrails_control
where
filter = 'state:error controlTypeId:"tmod:@turbot/turbot#/control/types/modInstalled" level:self';

Tags