turbot/guardrails_insights

Query: guardrails_control_invalid_count

Usage

powerpipe query guardrails_insights.query.guardrails_control_invalid_count

Steampipe Tables

SQL

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

Dashboards

The query is used in the dashboards: