turbot/guardrails_insights

Query: guardrails_control_error_count

Usage

powerpipe query guardrails_insights.query.guardrails_control_error_count

Steampipe Tables

SQL

select
case when count(*) > 0 then count(*) else '0' end as value,
'Error' as label,
case when count(*) = 0 then 'ok' else 'alert' end as "type"
from
guardrails_control
where
state = 'error';

Dashboards

The query is used in the dashboards: