AliCloud Account ReportAliCloud ECS Disk Age ReportAliCloud ECS Disk DashboardAliCloud ECS Disk DetailAliCloud ECS Disk Encryption ReportAliCloud ECS Instance Age ReportAliCloud ECS Instance DashboardAliCloud ECS Instance DetailAliCloud ECS Instance Public Access ReportAliCloud ECS Security Group DashboardAliCloud ECS Security Group DetailAliCloud ECS Snapshot Age ReportAliCloud ECS Snapshot DashboardAliCloud ECS Snapshot DetailAliCloud Key Age ReportAliCloud Key DetailAliCloud KMS CMK Lifecycle ReportAliCloud KMS Key DashboardAliCloud OSS Bucket Age ReportAliCloud OSS Bucket DashboardAliCloud OSS Bucket DetailAliCloud OSS Bucket Encryption ReportAliCloud OSS Bucket Lifecycle ReportAliCloud OSS Bucket Logging ReportAliCloud OSS Bucket Public Access ReportAliCloud RAM Access Key Age ReportAliCloud RAM Credential ReportAliCloud RAM Group Age ReportAliCloud RAM Group DashboardAliCloud RAM Group DetailAliCloud RAM Policy DetailAliCloud RAM Role Age ReportAliCloud RAM Role DashboardAliCloud RAM Role DetailAliCloud RAM User Age ReportAliCloud RAM User DashboardAliCloud RAM User DetailAliCloud RAM User MFA ReportAliCloud RDS Instance Age ReportAliCloud RDS Instance DashboardAliCloud RDS Instance DetailAliCloud RDS Instance Public Access ReportAliCloud VPC DashboardAliCloud VPC DetailAliCloud VPC vSwitch Detail
Dashboard: AliCloud VPC vSwitch Detail
his dashboard answers the following questions for each vSwitch:
- How is the vSwitch configured?
- What relationships does the vSwitch have with other resources?
- What tags are applied?
- What are the resources launched in the vSwitch?
This dashboard contains 3 cards, 1 graph, 1 input and 3 tables.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-alicloud-insights
Start the Powerpipe server:
steampipe service startpowerpipe server
Open http://localhost:9033 in your browser and select AliCloud VPC vSwitch Detail dashboard.
You could also snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe dashboard run alicloud_insights.dashboard.vpc_vswitch_detail --share
Queries
This dashboard uses the the following queries:
-- ECS instancesselect i.title as "Title", 'alicloud_ecs_instance' as "Type", i.arn as "ARN", '/alicloud_insights.dashboard.ecs_instance_detail?input.instance_arn=' || arn as linkfrom alicloud_ecs_instance as i join alicloud_vpc_vswitch as s on s.vpc_id = i.vpc_idwhere s.vswitch_id = $1
-- RDS DB Instancesunion allselect title as "Title", 'alicloud_rds_instance' as "Type", arn as "ARN", '/alicloud_insights.dashboard.rds_instance_detail?input.db_instance_arn=' || arn as linkfrom alicloud_rds_instancewhere vswitch_id = $1
-- Network ACLsunion allselect a.title as "Title", 'alicloud_vpc_network_acl' as "Type", v.network_acl_id as "ID", null as linkfrom alicloud_vpc_vswitch as v, alicloud_vpc_network_acl as awhere vswitch_id = $1 and v.network_acl_id is not null and v.network_acl_id = a.network_acl_id
-- Route Tablesunion allselect title as "Title", 'alicloud_vpc_route_table' as "Type", route_table_id as "ID", null as linkfrom alicloud_vpc_route_table, jsonb_array_elements_text(vswitch_ids) as bwhere b = $1 and route_table_id is not null;