turbot/aws_insights

Query: iam_users_for_iam_group

Usage

powerpipe query aws_insights.query.iam_users_for_iam_group

Steampipe Tables

SQL

select
member ->> 'Arn' as user_arn
from
aws_iam_group,
jsonb_array_elements(users) as member
where
arn = $1
and account_id = split_part($1, ':', 5);