turbot/guardrails_insights
GitHub

Query: guardrails_control_invalid_between_30_90_days

Usage

steampipe query guardrails_insights.query.guardrails_control_invalid_between_30_90_days

Plugins & Tables

SQL

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

Dashboards

The query is used in the dashboards: