turbot/steampipe-mod-gcp-insights

Dashboard: GCP Compute Subnetwork Detail

This dashboard answers the following questions for each subnetwork:

  • How is the subnetwork configured?
  • What are the corresponding network details?
  • What relationships does the subnetwork have with other resources?
This dashboard contains 4 cards, 1 graph, 1 input and 2 tables.

Usage

Install the mod:

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

Start the Powerpipe server:

steampipe service start
powerpipe server

Open http://localhost:9033 in your browser and select GCP Compute Subnetwork Detail dashboard.

You could also snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe dashboard run gcp_insights.dashboard.compute_subnetwork_detail --share

Queries

This dashboard uses the the following queries:
select
ip_cidr_range::text as "CIDR Range"
from
gcp_compute_subnetwork
where
id = (split_part($1, '/', 1))::bigint
and project = split_part($1, '/', 2);
{
"$1": "id"
}

Tags