turbot/steampipe-mod-alicloud-insights

Dashboard: AliCloud Key Detail

This dashboard answers the following questions for each key:

  • How is the key configured?
  • What relationships does the key have with other resources?
  • What tags are applied?
  • What is the source of the key material?
  • What is the state of the key?
  • Is automatic rotation enabled?
  • Is deletion protection enabled?
  • What is the protection level of the key?
This dashboard contains 5 cards, 1 graph, 1 input and 4 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 Key Detail dashboard.

You could also snapshot and share results via Turbot Pipes:

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

Queries

This dashboard uses the the following queries:
select
'Deletion Protection' as label,
deletion_protection as value,
case when deletion_protection='Enabled' then 'ok' else 'alert' end as type
from
alicloud_kms_key
where
arn = $1
and account_id = split_part($1,':',4)
and region = split_part($1,':',3);

Tags