turbot/alicloud_insights

Query: action_trails_for_ram_role

Usage

powerpipe query alicloud_insights.query.action_trails_for_ram_role

SQL

select
t.name as trail_name
from
alicloud_action_trail as t,
alicloud_ram_role as r
where
r.arn = $1
and t.account_id = r.account_id
and t.sls_write_role_arn = r.arn;