turbot/aws_insights

Query: eventbridge_rule_target_count

Usage

powerpipe query aws_insights.query.eventbridge_rule_target_count

Steampipe Tables

SQL

select
coalesce(jsonb_array_length(targets), 0) as value,
'Targets' as label
from
aws_eventbridge_rule
where
arn = $1
and account_id = split_part($1, ':', 5)
and region = split_part($1, ':', 4);

Dashboards

The query is used in the dashboards: