turbot/steampipe-mod-guardrails-insights

Query: guardrails_control_top_20_alerts

Usage

powerpipe query guardrails_insights.query.guardrails_control_top_20_alerts

Steampipe Tables

SQL

select
control_type_trunk_title as "Control Type Trunk Title",
control_type_uri as "Control Type URI",
count(control_type_uri) as "Count"
from
guardrails_control
where
state in ('alarm', 'error', 'invalid')
group by
control_type_uri,
control_type_trunk_title
order by
"Count" desc
limit
20;

Dashboards

The query is used in the dashboards: