Data collected for GCP Cloud Discovery
Discovery collects information about cloud resources in Google Cloud Platform (GCP). Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
Request apps on the Store
Visit the ServiceNow Store to view all the available apps, and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the ServiceNow Store version history release notes.
Prerequisites
- Verify that the applications are up to date.
-
- Discovery and Service Mapping Patterns.
- CMDB CI Class Models.
- Visibility Content.
- Configure a discovery schedule
- Create a discovery schedule in Cloud Discovery Workspace
Verify the REST API Permissions
Download the Cloud Discovery patterns spreadsheet so you can grant user permissions required for running the Discovery patterns. In addition to permissions, the spreadsheet also includes useful information such as pattern names, types, CI Classes, and links to vendor documentation. New patterns are available quarterly, so check periodically to be sure you have the latest version of the spreadsheet.
GCP data collected
| Table | ServiceNow Field | GCP Field |
|---|---|---|
| Region [cmdb_ci_google_datacenter] | object_id | items.id |
| name | name | |
| short_description | description | |
| status | status | |
| region | items.name | |
| Virtual Server [cmdb_ci_vm_instance] | object_id | id |
| name | name | |
| state | status | |
| cpus | Not mapped | |
| memory | Not mapped | |
| disks | disks (array size) | |
| disks_size | Not mapped | |
| nics | networkInterfaces (array size) | |
| termination_protection | deletionProtection | |
| Not mapped | canIpForward | |
| Not mapped | selfLink | |
| sys_created_on | creationTimestamp | |
| Storage Volume (cmdb_ci_storage_volume) | object_id | items.id |
| name | name | |
| short_description | description | |
| state | status | |
| status | status | |
| size | sizeGb | |
| storage_type | storage_type | |
| Cloud Public IP Address [cmdb_ci_cloud_public_ipaddress] | object_id | items.id |
| name | name | |
| public_ip_address | address | |
| state | status | |
| Availablility Zone [cmdb_ci_availability_zone] | object_id | items.id |
| name | name | |
| short_description | description | |
| state | status | |
| status | status | |
| Hardware Template [cmdb_ci_compute_template] | object_id | items.id |
| name | name | |
| short_description | description | |
| vcpus | guestCpus | |
| memory_mb | memoryMb | |
| local_storage_gb | imageSpaceGb | |
| Instance Template [cmdb_ci_instance_template] | object_id | items.id |
| name | name | |
| short_description | description | |
| Storage Volume Snapshot [cmdb_ci_storage_vol_snapshot] | object_id | items.id |
| name | name | |
| state | status | |
| volume_name | sourceDisk | |
| capacity | storageBytes | |
| No mapping | storageBytesStatus | |
| No mapping | selfLink | |
| No mapping | labelFingerprint | |
| No mapping | diskSizeGb | |
| Disk Type [cmdb_ci_disk_type] | object_id | zone:name |
| name | name@zone | |
| short_description | description | |
| valid_disk_size | validDiskSize | |
| default_disk_size_gb | defaultDiskSizeGb | |
| Subnet [cmdb_ci_cloud_subnet] | object_id | id |
| name | name | |
| cidr | ipCidrRange | |
| gateway | gatewayAddress | |
| Image [cmdb_ci_os_template] | object_id | items.id |
| name | name | |
| image_type | sourceType | |
| No mapping | status | |
| No mapping | archiveSizeBytes | |
| No mapping | diskSizeGb | |
| image_source |
|
|
| Load Balancer (cmdb_ci_cloud_load_balancer) | object_id | id |
| name | name | |
| No mapping | defaultService | |
| Load Balancer Service (cmdb_ci_lb_service) | object_id | id |
| name | name | |
| pool | backends | |
| port | port | |
| listener_protocol | protocol | |
| No mapping | portName | |
| No mapping | loadBalancingScheme | |
| No mapping | sessionAffinity | |
| No mapping | enableCDN | |
| service_type | Backend/Frontend | |
| Load Balancer Health Service [cmdb_ci_lb_health_service] | object_id | id |
| name | name | |
| monitor_type | type (tcp/http/https) | |
| request_path | requestPath | |
| port | port | |
| unhealthy_threshold | unhealthyThreshold | |
| healthy_threshold | healthyThreshold | |
| timeout_sec | timeoutSec | |
| check_interval_sec | checkIntervalSec | |
| Load Balancer Pool Member [cmdb_ci_lb_pool_member] | object_id | Instance ID from GCP |
| name | instance.substring after the last'/' | |
| Operational status | status | |
| Load Balancer Pool [cmdb_ci_lb_pool] | object_id | id |
| name | name | |
| Network [cmdb_ci_network] | state | No mapping |
| cidr | IPv4Range | |
| is_external | No mapping | |
| name | name | |
| object_id | items_id | |
| description | description | |
| Network ACL [cmdb_ci_network_acl] | object_id | id |
| name | name | |
| short_description | description | |
| Network ACL Rule [cmdb_ci_network_acl_rule] | is_outbound (True/False) | ac |
| dest_from_port | No mapping | |
| dest_to_port | No mapping | |
| src_from_port | No mapping | |
| src_to_port | No mapping | |
| source_ranges | sourceRanges | |
| destination_ranges | destinationRanges | |
| target_tags | targetTags | |
| allowed_traffic | allowed | |
| Kubernetes Clusters [cmdb_ci_kubernetes_cluster] | IP address | ip_address |
| Name | name | |
| Port | port | |
| Kubernetes UID | k8s_uid | |
| Vendor | vendor |