turbot/steampipe-mod-alicloud-insights

Dashboard: AliCloud RAM Group Detail

This dashboard answers the following questions for each group:

  • How is the group configured?
  • What relationships does the group have with other resources?
  • What users are associated with the group?
  • What policies are attached to the group?
This dashboard contains 2 cards, 1 graph, 1 input and 3 tables.

Usage

Install the mod:

mkdir dashboards
cd dashboards
powerpipe mod init
powerpipe mod install github.com/turbot/steampipe-mod-alicloud-insights

Start the Powerpipe server:

steampipe service start
powerpipe server

Open http://localhost:9033 in your browser and select AliCloud RAM Group Detail dashboard.

You could also snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe dashboard run alicloud_insights.dashboard.ram_group_detail --share

Queries

This dashboard uses the the following queries:
select
policies ->> 'PolicyName' as "Name",
policies ->> 'PolicyType' as "Type",
policies ->> 'DefaultVersion' as "Default Version",
policies ->> 'AttachDate' as "Attachment Date"
from
alicloud_ram_group,
jsonb_array_elements(attached_policy) as policies
where
arn = $1
and account_id = split_part($1,':',4);

Tags