Control: Unattached disks should be removed
Unattached disks are charged by Alicloud, they should be removed unless there is a business need to retain them.
Run the control in your terminal:
steampipe check alicloud_thrifty.control.ecs_disk_unattached
Snapshot and share results via Steampipe Cloud:
steampipe loginsteampipe check --share alicloud_thrifty.control.ecs_disk_unattached
Plugins & Tables
selectarn as resource,casewhen status = 'Available' then 'alarm'else 'ok'end as status,casewhen status = 'Available' then title || ' has no attachment.'else title || ' has attachment.'end as reason,region,account_idfromalicloud_ecs_disk;