GCP
Google Cloud Platform (GCP) is Google's comprehensive public cloud computing platform that provides infrastructure as a service (IaaS), platform as a service (PaaS), and software as a service (SaaS) offerings. GCP enables organizations to build, deploy, and scale applications, websites, and services on the same infrastructure that powers Google's own products.
| Category | Cloud |
| Direction | Query source |
| Sign-in | GCP Credentials |
| Query languages | SQLite |
| Tables | 122 |
| Query templates | 478 |
| Website | google.com |
Before you start
Huntbase signs in to GCP with GCP Credentials. Create the credential in GCP first, then keep it to hand for the Connect step.
- In the Google Cloud console, open the Create service account page and select your project.
- Enter a service account name, click Create and continue, grant the Viewer role, then click Continue and Done.
- Open the new service account, go to the Keys tab, and choose Add key › Create new key.
- Select JSON and click Create. The key file downloads once and cannot be downloaded again.
Permissions:
- Viewer
- The Viewer role does not include IAM policy reads such as
storage.buckets.getIamPolicy. Add them with a custom role if you need them. - The
iam.disableServiceAccountKeyCreationorganization policy blocks key creation. It is on by default for organizations created on or after May 3, 2024. - Creating keys needs the Service Account Key Admin role.
For the vendor's own instructions, see Google Cloud service account key documentation.
Use a dedicated, read-only credential for Huntbase where the product allows it. Huntbase only needs to read.
Connect GCP
- Go to Connections and click New connection, or click New connection on the GCP product page.
- On Product, pick GCP and choose the Owner.
- On Details, give the connection a Name and, optionally, a Description.
- On Connect, fill in the settings and credentials described below.
- On Verify, review the summary and click Create & check.
For everything else on the setup page — saving a draft, I'll do this later, and what each check result means — see Connections.
Settings
Where your GCP lives:
| Field | Required | Notes |
|---|---|---|
| GCP Project ID | Yes | The project ID string, not the project name or number. |
Credentials
The only Method is GCP Credentials. Enter a Credential label (for example Production), then fill in:
| Field | Required | Notes |
|---|---|---|
| GCP Credentials | Yes | Paste the full contents of the downloaded JSON key file. Secret — not shown again after you save it. |
Query it
Once connected, GCP can serve these languages in a query tab, and Scout can use it when you ask in Auto:
| Language | Use it for |
|---|---|
| SQLite | SQL over the 122 tables listed below, alongside every other connected source. |
Example: SQLite
GCP project service inventory — List all services associated with a GCP project.
select
*
from
gcp_project_service;
GCP ships with 478 query templates. Find them in Library › Queries — see Query templates.
What syncs automatically
GCP comes with a content pack. These queries run on a schedule on each new connection so the entities they find appear in the Activity Feed without you asking. You can turn syncing off from the connection's Synchronisation Settings card.
| Query | Finds |
|---|---|
| Sync service accounts | user |
| Sync GKE clusters | endpoint, location |
| Sync projects | organization |
| Sync compute firewall rules | firewall rule |
| Sync Cloud Functions service account roles | group, user |
Tables
GCP adds 122 tables. Browse their columns from Schema in the query bar's ⋯ menu.
All 122 tables
| Table | Contains |
|---|---|
gcp_alloydb_cluster | GCP AlloyDB Cluster |
gcp_alloydb_instance | GCP AlloyDB Instance |
gcp_apikeys_key | GCP API Keys Key |
gcp_app_engine_application | GCP App Engine Application |
gcp_artifact_registry_repository | GCP Artifact Registry Repository |
gcp_audit_policy | GCP Audit Policy |
gcp_bigquery_dataset | GCP BigQuery Dataset |
gcp_bigquery_job | GCP BigQuery Job |
gcp_bigquery_table | GCP Bigquery Table |
gcp_bigtable_instance | GCP Bigtable Instance |
gcp_billing_account | GCP Billing Account |
gcp_billing_budget | GCP Billing Budget |
gcp_cloud_asset | GCP Cloud Asset |
gcp_cloud_identity_group | GCP Cloud Identity Group |
gcp_cloud_identity_group_membership | GCP Cloud Identity Group Membership |
gcp_cloud_run_job | GCP Cloud Run Job |
gcp_cloud_run_service | GCP Cloud Run Service |
gcp_cloudfunctions_function | GCP Cloud Function |
gcp_composer_environment | GCP Composer Environment |
gcp_compute_address | GCP Compute Address |
gcp_compute_autoscaler | GCP Compute Autoscaler |
gcp_compute_backend_bucket | GCP Compute Backend Bucket |
gcp_compute_backend_service | GCP Compute Backend Service |
gcp_compute_disk | GCP Compute Disk |
gcp_compute_disk_metric_read_ops | GCP Compute Disk Metrics - Read Ops |
gcp_compute_disk_metric_read_ops_daily | GCP Compute Disk Metrics - Read Ops (Daily) |
gcp_compute_disk_metric_read_ops_hourly | GCP Compute Disk Metrics - Read Ops (Hourly) |
gcp_compute_disk_metric_write_ops | GCP Compute Disk Metrics - Write Ops |
gcp_compute_disk_metric_write_ops_daily | GCP Compute Disk Metrics - Write Ops (Daily) |
gcp_compute_disk_metric_write_ops_hourly | GCP Compute Disk Metrics - Write Ops (Hourly) |
gcp_compute_firewall | GCP Compute Firewall |
gcp_compute_forwarding_rule | GCP Compute Forwarding Rule |
gcp_compute_global_address | GCP Compute Global Address |
gcp_compute_global_forwarding_rule | GCP Compute Global Forwarding Rule |
gcp_compute_ha_vpn_gateway | GCP Compute VPN Gateway |
gcp_compute_image | GCP Compute Image |
gcp_compute_instance | GCP Compute Instance |
gcp_compute_instance_group | GCP Compute Instance Group |
gcp_compute_instance_group_manager | GCP Compute Instance Group Manager |
gcp_compute_instance_metric_cpu_utilization | GCP Compute Instance Metrics - CPU Utilization |
gcp_compute_instance_metric_cpu_utilization_daily | GCP Compute Instance Metrics - CPU Utilization (Daily) |
gcp_compute_instance_metric_cpu_utilization_hourly | GCP Compute Instance Metrics - CPU Utilization (Hourly) |
gcp_compute_instance_template | GCP Compute Instance Template |
gcp_compute_machine_image | GCP Compute Machine Image |
gcp_compute_machine_type | GCP Compute Machine Type |
gcp_compute_network | GCP Compute Network |
gcp_compute_node_group | GCP Compute Node Group |
gcp_compute_node_template | GCP Compute Node Template |
gcp_compute_project_metadata | GCP Compute Project Metadata |
gcp_compute_region | GCP Compute Region |
gcp_compute_resource_policy | GCP Compute Resource Policy |
gcp_compute_router | GCP Compute Router |
gcp_compute_security_policy | GCP Armor Security Policy |
gcp_compute_snapshot | GCP Compute Snapshot |
gcp_compute_ssl_policy | GCP Compute SSL Policy |
gcp_compute_subnetwork | GCP Compute Subnetwork |
gcp_compute_target_https_proxy | GCP Compute Target Https Proxy |
gcp_compute_target_pool | GCP Compute Target Pool |
gcp_compute_target_ssl_proxy | GCP Compute Target SSL Proxy |
gcp_compute_target_vpn_gateway | GCP Compute Target VPN Gateway |
gcp_compute_tpu | [DEPRECATED] GCP Compute TPUs are specialized hardware accelerators designed to speed up specific machine learning workloads. |
gcp_compute_url_map | GCP Compute URL Map |
gcp_compute_vpn_tunnel | GCP Compute VPN Tunnel |
gcp_compute_zone | GCP Compute Zone |
gcp_dataplex_asset | GCP Dataplex Asset |
gcp_dataplex_lake | GCP Dataplex Lake |
gcp_dataplex_task | GCP Dataplex Task |
gcp_dataplex_zone | GCP Dataplex Zone |
gcp_dataproc_cluster | GCP Dataproc Cluster |
gcp_dataproc_metastore_service | GCP Dataproc Metastore Service |
gcp_dns_managed_zone | GCP DNS Managed Zone |
gcp_dns_policy | GCP DNS Policy |
gcp_dns_record_set | GCP DNS Record Set |
gcp_firestore_database | GCP Firestore Database |
gcp_iam_policy | GCP IAM Policy |
gcp_iam_role | GCP IAM Role |
gcp_kms_key | GCP KMS Key |
gcp_kms_key_ring | GCP KMS Key Ring |
gcp_kms_key_version | GCP KMS Key Version |
gcp_kubernetes_cluster | GCP Kubernetes Cluster |
gcp_kubernetes_node_pool | GCP Kubernetes Node Pool |
gcp_logging_bucket | GCP Logging Bucket |
gcp_logging_exclusion | GCP Logging Exclusion |
gcp_logging_log_entry | GCP Logging Log Entry |
gcp_logging_metric | GCP Logging Metric |
gcp_logging_sink | GCP Logging Sink |
gcp_monitoring_alert_policy | GCP Monitoring Alert Policy |
gcp_monitoring_group | GCP Monitoring Group |
gcp_monitoring_notification_channel | GCP Monitoring Notification Channel |
gcp_organization | GCP Organization |
gcp_organization_audit_policy | GCP Organization Audit Policy |
gcp_organization_project | GCP Organization Project |
gcp_project | GCP Project |
gcp_project_organization_policy | GCP Project Organization Policy |
gcp_project_service | GCP Project Service |
gcp_pubsub_snapshot | GCP Pub/Sub Snapshot |
gcp_pubsub_subscription | GCP Pub/Sub Subscription |
gcp_pubsub_topic | GCP Pub/Sub Topic |
gcp_redis_cluster | GCP Redis Cluster |
gcp_redis_instance | GCP Redis Instance |
gcp_secret_manager_secret | GCP Secret Manager Secret |
gcp_service_account | GCP Service Account |
gcp_service_account_key | GCP Service Account Key |
gcp_sql_backup | GCP SQL Backup |
gcp_sql_database | GCP SQL Database |
gcp_sql_database_instance | GCP SQL Database Instance |
gcp_sql_database_instance_metric_connections | GCP SQL Database Instance Metrics Connections |
gcp_sql_database_instance_metric_connections_daily | GCP SQL Database Instance Metrics - Connections (Daily) |
gcp_sql_database_instance_metric_connections_hourly | GCP SQL Database Instance Metrics - Connections (Hourly) |
gcp_sql_database_instance_metric_cpu_utilization | GCP SQL Database Instance Metrics - CPU Utilization |
gcp_sql_database_instance_metric_cpu_utilization_daily | GCP SQL Database Instance Metrics - CPU Utilization (Daily) |
gcp_sql_database_instance_metric_cpu_utilization_hourly | GCP SQL Database Instance Metrics - CPU Utilization (Hourly) |
gcp_storage_bucket | GCP Storage Bucket |
gcp_storage_object | GCP Storage Object |
gcp_tag_binding | GCP Tag Binding |
gcp_tpu_vm | GCP TPU VMs are specialized hardware accelerators designed to speed up specific machine learning workloads. |
gcp_vertex_ai_endpoint | GCP Vertex AI Endpoint |
gcp_vertex_ai_model | GCP Vertex AI Model |
gcp_vertex_ai_notebook_runtime_template | GCP Vertex AI Notebook Runtime Template |
gcp_vpc_access_connector | GCP VPC Access Connector |
gcp_workstations_workstation | GCP Workstations workstation |
gcp_workstations_workstation_cluster | GCP Workstations Workstation Cluster |
Next steps
- Connections — health, credentials and settings after you connect
- Query languages — syntax, parameters and time ranges
- Chatting with Scout — ask questions without writing a query
- All integrations — the rest of the catalog