GCP Networking pattern-based discovery
Summarize
Summary of GCP Networking Pattern-Based Discovery
GCP Networking Pattern-Based Discovery enables users to identify and map Google Cloud Platform (GCP) networking resources within their cloud environment. This functionality is essential for maintaining an accurate Configuration Management Database (CMDB) and requires the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
Show less
Key Features
- Data Collection: The Discovery tool captures various data points during horizontal discovery, including cloud service accounts, availability zones, datacenters, networks, subnets, and firewalls.
- CI Relationships: The GCP networking pattern creates defined relationships between configuration items (CIs) such as cloud service accounts, datacenters, and network ACLs, enhancing visibility and management.
- Detailed Data Fields: Each resource type comes with specific fields, like account IDs, object IDs, states, CIDR notations, and installation statuses, which help in precise tracking and management of cloud resources.
Key Outcomes
By implementing GCP Networking Pattern-Based Discovery, customers can:
- Efficiently discover and map GCP networking resources, ensuring their CMDB reflects the current state of their cloud environment.
- Gain insights into resource relationships, aiding in better resource management and operational efficiency.
- Ensure compliance and improve security posture through detailed tracking of network configurations and firewall rules.
Discovery and Service Mapping Patterns finds GCP networking resources on your cloud environment. Discovering some of these resources may 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 components discovery using Patterns.
Data collected by Discovery during horizontal discovery
Discovery populates the data in the CMDB when running the Google Cloud Platform (GCP) - Networking 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] | Name of the Google Cloud Virtual Private Cloud (VPC) network. |
| Object ID [object_id] | Unique identifier for the VPC network resource in Google Cloud. |
| Description [short_description] | Description of the VPC network. |
| Default Gateway [default_gateway] | Default gateway IPv4 address for the network. |
| State [state] | Current state of the VPC network. Default value is Available. |
| Install Status [install_status] | Install status of the resource. Default value is Installed. |
| Operational status [operational_status] | Operational status of the resource. Default value is Operational. |
| Field | Description |
|---|---|
| Name [name] | Name of the Google Cloud subnetwork. If the network has auto-creation enabled, the Classless Inter-Domain Routing (CIDR) notation is used as the name. |
| Object ID [object_id] | Unique identifier for the subnetwork resource in GCP. |
| CIDR [cidr] | IP address range of the subnetwork in CIDR notation. May include primary IPv4, secondary IPv4, and IPv6 ranges as a comma-separated list. |
| Subnet Mask [subnet_mask] | Dotted representation of the subnet mask. For example: 255.255.240.0. |
| Gateway [gateway] | Gateway address for default routing out of the network. |
| Broadcast Address [broadcast_address] | Broadcast address of the subnet. |
| Available IP Count [available_ip_count] | Number of IPs that are available in the subnet. This amount does not include network and broadcast addresses. |
| State [state] | Current state of the subnetwork. Default value is Available. |
| Install Status [install_status] | Install status of the resource. Default value is Installed. |
| Operational status [operational_status] | Operational status of the resource. Default value is Operational. |
| Field | Description |
|---|---|
| Name [name] | Name of the Google Cloud firewall rule. |
| Object ID [object_id] | Unique identifier for the firewall rule in Google Cloud. |
| Description [short_description] | Description of the firewall rule. |
| Install Status [install_status] | Install status of the firewall rule. Default value is Installed. |
| Operational status [operational_status] | Operational status of the resource. Default value is Operational. |
| Field | Description |
|---|---|
| Name [name] | Name of the firewall rule. |
| Allow Deny [allow_deny] | Indicates whether traffic is allowed or denied. |
| Outbound [is_outbound] | Traffic direction for the firewall rule.
|
| Source Ranges [source_ranges] | Source IP address ranges in CIDR notation for the firewall rule. |
| Destination Ranges [destination_ranges] | Destination IP address ranges in CIDR notation for the firewall rule. |
| Target Tags [target_tags] | Network tags that identify which instances the firewall rule affects. |
| Allowed\Denied Traffic [allowed_denied_traffic] | Protocols and ports that are allowed or denied by this rule. |
| Install Status [install_status] | Install status of the resource. Default value is Installed. |
| Operational status [operational_status] | Operational status of the resource. Default value is Operational. |
CI relationships
The Google Cloud Platform (GCP) - Networking pattern creates these relationships to support GCP networking discovery.
| CI | Relationship | CI |
|---|---|---|
| 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] |
| Google Datacenter [cmdb_ci_google_datacenter] | Contains::Contained by | Cloud Subnet [cmdb_ci_cloud_subnet] |
| Cloud Network [cmdb_ci_network] | Hosted on::Hosts | Cloud Service Account [cmdb_ci_cloud_service_account] |
| Cloud Network [cmdb_ci_network] | Contains::Contained by | Cloud Subnet [cmdb_ci_cloud_subnet] |
| Cloud Network [cmdb_ci_network] | Contains::Contained by | Network ACL [cmdb_ci_network_acl] |
| Network ACL [cmdb_ci_network_acl] | Contains::Contained by | Network ACL Rule [cmdb_ci_network_acl_rule] |