turbot/guardrails_insights

Query: guardrails_control_alarm_count

Usage

powerpipe query guardrails_insights.query.guardrails_control_alarm_count

Steampipe Tables

SQL

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';

Dashboards

The query is used in the dashboards: