turbot/guardrails_insights
GitHub

Query: guardrails_control_error_between_1_30_days

Usage

steampipe query guardrails_insights.query.guardrails_control_error_between_1_30_days

Plugins & Tables

SQL

with between_1_30_days as (
select
now() :: date - update_timestamp :: date as days
from
guardrails_control
where
update_timestamp between symmetric now() - '1 days' :: interval
and now() - '30 days' :: interval
and state = 'error'
)
select
count(*) as value,
'1-30 Days' as label
from
between_1_30_days;

Dashboards

The query is used in the dashboards: