turbot/guardrails_insights

Query: guardrails_control_alert_between_30_90_days

Usage

powerpipe query guardrails_insights.query.guardrails_control_alert_between_30_90_days

Steampipe 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 = 'alarm'
)
select
count(*) as value,
'30-90 Days' as label
from
between_30_90_days;

Dashboards

The query is used in the dashboards: