turbot/alicloud_insights

Query: ram_users_for_ram_policy

Usage

powerpipe query alicloud_insights.query.ram_users_for_ram_policy

Steampipe Tables

SQL

select
arn as user_arn
from
alicloud_ram_user,
jsonb_array_elements(attached_policy) as policy
where
policy ->> 'PolicyName' = $1;