GCP SSH Keys pattern-based discovery

reference australia Updated Sep 10, 2026 2 min read gcp-ssh-keys-pattern.md
Raw file servicenow.com

Discovery and Service Mapping Patterns finds GCP SSH keys stored in project metadata on your cloud environment. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.

Pattern-based discovery and mapping requirements

Verify the GCP discovery prerequisites section in Google Cloud Platform (GCP) Cloud discovery using Patterns.

Data collected by Discovery during horizontal discovery

Discovery populates the data in the CMDB when running the Google Cloud Platform (GCP) - SSH Keys pattern.

Field Description
Account Id [account_id] Name of the project used for the discovery.
Object ID [object_id] Name of the project used for the discovery.
Datacenter Type [datacenter_type] Datacenter type: Google Datacenter [cmdb_ci_google_datacenter].
Field Description
Name [name] Name of the availability zone.
Description [short_description] Description of the availability zone.
State [state] State of the Availability Zone. Possible values are Available or Terminated.
Field Description
Name [name] Datacenter or region name.
Region [region] Datacenter or region name.
Object ID [object_id] Unique identifier allocated by GCP for this resource.
Description [short_description] Datacenter or region description.
Field Description
Name [name] The username associated with the SSH key.
Object ID [object_id] The SSH public key used for authentication to Compute Engine virtual machines.
Install Status [install_status] Install status of the resource. Default value is Installed.

CI relationships

The Google Cloud Platform (GCP) - SSH Keys pattern creates these relationships to support GCP SSH key discovery.

CI Relationship CI
Cloud Key Pair [cmdb_ci_cloud_key_pair] Hosted on::Hosts Cloud Service Account [cmdb_ci_cloud_service_account]
Google Datacenter [cmdb_ci_google_datacenter] Hosted on::Hosts Cloud Service Account [cmdb_ci_cloud_service_account]
Google Datacenter [cmdb_ci_google_datacenter] Contains::Contained by Availability Zone [cmdb_ci_availability_zone]

Parent Topic:Google Cloud Platform (GCP) Cloud discovery using Patterns

Keywords Google Cloud Platform SSH Keys patternGCP SSH key discoveryGCP project metadataGCP SSH KeysCompute Engine SSH keysGCP patterns
Search documentation
Search document titles and file paths on the australia branch