turbot/alicloud_insights

Query: action_trails_for_oss_bucket

Usage

powerpipe query alicloud_insights.query.action_trails_for_oss_bucket

SQL

select
t.name as trail_name
from
alicloud_oss_bucket as b
left join alicloud_action_trail t
on b.name = t.oss_bucket_name
where
b.arn = $1
and t.name is not null;