---
sourceDocument: Yokohama ServiceNow AI Platform Capabilities
sourceDocumentLink: https://www.servicenow.com/docs/r/yokohama/servicenow-platform

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Deep discovery for GCP

# Deep discovery for Service Graph Connector for GCP {#ariaid-title1}

* Release version: Yokohama
* 
* Updated July 31, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read

Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Deep Discovery for Service Graph Connector for GCP

The Service Graph Connector for GCP facilitates deep discovery by executing patch jobs at the GCP project level to gather essential server data.
This process captures details such as host names, serial numbers, CPU data, TCP connections, and running processes, which are then populated into the Configuration Management Database (CMDB).
Show full answer Show less  

## Key Features

* **Patch Job Execution:** The connector runs OS Config Patch jobs on both Linux and Windows VMs to perform deep discovery tasks.
* **Scheduled Imports:** Two main scheduled imports, SG-GCP Execute Patch Job and SG-GCP Get Patch Job, manage the execution and output retrieval of the patch jobs.
* **Connection Properties:** Various properties are defined, including the names and paths of Cloud Storage Buckets for scripts and outputs, as well as versioning numbers for scripts.

## Key Outcomes

By utilizing deep discovery, ServiceNow customers can effectively populate their CMDB with comprehensive VM data. This information aids in Application Dependency Mapping (ADM), enabling the classification of applications, such as Apache Web Server and Oracle Database, based on the imported middleware data. Customers can expect improved visibility and management of their cloud resources as a result of this integration.  
The SG-GCP Execute Patch Job and SG-GCP Get Patch Job scheduled import jobs enable deep discovery by running patch jobs at the GCP project level.

Deep discovery involves fetching server data. The deep discovery data populates host name, serial number, CPU data, TCP connections, and running processes data into the CMDB.

The Service Graph Connector for GCP uses OS Config Patch jobs on GCP projects to execute the deep discovery commands on the VMs. These patch jobs run independently on Linux and Windows VMs.  
The following scheduled imports execute the OS Config Patch jobs, and then read and delete the output:

* [SG-GCP Execute Patch Job](https://www.servicenow.com/docs/9QtlcffPByThgYD9yzTDiw#sgc-gcp-deep-discovery__section_kj4_kc3_cgc)
* [SG-GCP Get Patch Job](https://www.servicenow.com/docs/9QtlcffPByThgYD9yzTDiw#sgc-gcp-deep-discovery__section_qh1_sc3_cgc)
{#sgc-gcp-deep-discovery__ul_f4g_gc3_cgc}

## Deep discovery connection properties {#sgc-gcp-deep-discovery__section_xwn_4c3_cgc}

{#sgc-gcp-deep-discovery__table_qhj_pc3_cgc__entry__2}

| Connection property name | Connection property value |
|-|-|
| Scripts Bucket Name | Name of the Cloud Storage Bucket where the deep discovery scripts are saved. |
| Outputs Bucket Name | Name of the output Cloud Storage Bucket. |
| Outputs Storage Path | Path of the output Cloud Storage Bucket. |
| Shell Script Object Path | Path of the deep discovery Shell script file. |
| Shell Script Generation Number | Number that is used to identify the versioning of the cloud storage object. |
| PowerShell Script Object Path | Path of the deep discovery PowerShell script file. |
| PowerShell Script Generation Number | Number that is used to identify the versioning of the cloud storage object. |
[Table 1. Deep discovery connection properties]

{#sgc-gcp-deep-discovery__table_qhj_pc3_cgc}

## SG-GCP Execute Patch Job {#sgc-gcp-deep-discovery__section_kj4_kc3_cgc}

The SG-GCP Execute Patch Job scheduled import reads the path of the Shell and PowerShell scripts uploaded to the Cloud Storage Bucket and the generation numbers from the deep discovery connection properties. The scheduled import
then runs the commands on Linux and Windows VMs separately.

In the Import Set table for the SG-GCP Execute Patch Job import schedule, each project will have two rows, one for Linux VMs and the other for Windows VMs. The Import Set rows remain in `Pending` state because no transformations are required for these rows. The Import Set rows include the patch
job ID and the list of instances on which the deep discovery script is run. The output is stored in the Cloud Storage Bucket with the Object ID of the VMs on which the deep discovery commands are run.

## SG-GCP Get Patch Job {#sgc-gcp-deep-discovery__section_qh1_sc3_cgc}

The SG-GCP Get Patch Job scheduled import reads the output of the commands that are run on the Linux and Windows VMs. The scheduled import reads the output from the output bucket and folder path that are specified in the deep discovery connection properties. The SG-GCP Get Patch Job scheduled import then deletes the
output from the Cloud Storage Bucket. The Import Set rows are processed using Application Dependency Mapping (ADM) to populate the Server records with the data of the VMs on which deep discovery was run. The
Import Set rows include VM data such as running processes, TCP connections, and CPU information.

## Application Dependency Mapping {#sgc-gcp-deep-discovery__section_utt_lld_cgc}

Using the deep discovery information, Application Dependency Mapping (ADM) creates and classifies the following applications from the imported middleware information:

* Apache Web Server
* MongoDB Instance
* MSFT SQL Instance
* MySQL Instance
* Nginx Web Server
* Oracle Database Listener
* Oracle Instance
* PostgreSQL Instance
* Tomcat
{#sgc-gcp-deep-discovery__ul_mg1_pld_cgc}

## Additional resource {#sgc-gcp-deep-discovery__section_th4_hmd_cgc}

[Service Graph Connector for GCP - Deep Discovery Setup Instructions \[KB2213095\]](https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB2213095) article in the Now Support Knowledge Base
**Related reference**   

* [Service Graph Connector for GCP properties](https://www.servicenow.com/docs/9ncn2yTEdpNHOZ_mmP0Yug "Service Graph Connector for GCP properties control the behavior of the connector.")

