Skip to main content
Version: 4.3

System data mapping

This page describes how data retrieved from the source service is mapped into records generated by the connector.

For each record type, the following information is reported:

  • the property name exposed by the connector;
  • the path from which the value is obtained in the source service;
  • any additional note regarding transformations, enrichments or special behaviours.

Each record mapping section is titled {Source Object Name} ({_type}), combining the object name used by the source service with the internal record type produced by the connector.

Common properties​

Almost all the records share the following properties.

Property nameSource pathNotes
idselfLinkUnique identifier of the object in Google Cloud (usually its selfLink; the project id for project).
namenameFor project it is the displayName.
project-Record Id of the related project.

Notes​

  • usage_rel, machinetype and sqltier do not have the project property. machinetype and sqltier do not have the id property either, they are identified by name.
  • disk has no name and networkinterface has no id: the latter is identified by the pair (instance, name).
  • Where present, the description property is the description of the source object, and labels is the map of the labels of the source object converted to JSON.
  • The properties state, status and the other properties that are mapped to CMDBuild lookups are normalized by the preprocessing into a <property>_lk value, obtained by trimming the value, removing the _ characters and converting it to lowercase (e.g. RUNNING becomes running). Where a note below mentions a value replacement, it is applied before the normalization.

Resource Manager​

Project (project)​

A Google Cloud project, the root context to which all the other records are related.

Property nameSource pathNotes
idprojectId
namedisplayName
statestateName of the enum value. Normalized to state_lk.
labelslabelsTransformed to JSON.

Only the projects visible to the service account that satisfy the Projects and Excluded projects configuration are extracted.

Compute Engine​

Instance (computeinstance)​

A Compute Engine virtual machine.

Property nameSource pathNotes
descriptiondescription
statusstatusTERMINATED is replaced with STOPPED. Normalized to status_lk.
locationkey of the aggregated list scopeLast token of the scope (zone).
machine_typemachineTypeLast token of the URL.
cpu_platformcpuPlatform
cpusmachinetype.cpusAdded by the preprocessing. For custom machine types (<family>-custom-<cpus>-<memory MB>) it is parsed from the machine type name.
memorymachinetype.memoryIn GB. Added by the preprocessing. For custom machine types it is parsed from the machine type name and converted from MB.
tagstags.itemsTransformed to JSON.
labelslabelsTransformed to JSON.

AttachedDisk (disk)​

A disk attached to a Compute Engine instance. One record is created for each disk of each instance.

Property nameSource pathNotes
iddisks[].source
device_namedisks[].deviceName
modedisks[].modeNormalized to mode_lk.
typedisks[].typeNormalized to type_lk.
disk_sizedisks[].diskSizeGb
interfacedisks[].interfaceNormalized to interface_lk.
os_licensedisks[].licensesLast token of the first license belonging to one of the public OS projects (debian-cloud, ubuntu-os-cloud, centos-cloud, rhel-cloud, windows-cloud, cos-cloud, suse-cloud, rocky-linux-cloud). Empty if none matches.
instance-Record Id of the related computeinstance.

NetworkInterface (networkinterface)​

A network interface of a Compute Engine instance. One record is created for each interface of each instance.

Property nameSource pathNotes
namenetworkInterfaces[].name
ipnetworkInterfaces[].networkIP
stack_typenetworkInterfaces[].stackTypeNormalized to stack_type_lk.
instance-Record Id of the related computeinstance.
networknetworkInterfaces[].networkRecord Id of the related network.
subnetworknetworkInterfaces[].subnetworkRecord Id of the related subnetwork.

Network (network)​

A VPC network.

Property nameSource pathNotes
descriptiondescription
auto_create_subnetworksautoCreateSubnetworks

Subnetwork (subnetwork)​

A subnetwork of a VPC network.

Property nameSource pathNotes
descriptiondescription
locationkey of the aggregated list scopeLast token of the scope (region).
cidr_rangeipCidrRange
purposepurposeNormalized to purpose_lk.
gateway_addressgatewayAddress
stack_typestackTypeNormalized to stack_type_lk.
private_ip_google_accessprivateIpGoogleAccess
networknetworkRecord Id of the related network.

Firewall (firewall)​

A VPC firewall rule.

Property nameSource pathNotes
descriptiondescription
directiondirectionNormalized to direction_lk.
prioritypriority
disableddisabled
source_rangessourceRangesTransformed to JSON.
destination_rangesdestinationRangesTransformed to JSON.
source_tagssourceTagsTransformed to JSON.
target_tagstargetTagsTransformed to JSON.
source_service_accountssourceServiceAccountsTransformed to JSON.
target_service_accountstargetServiceAccountsTransformed to JSON.
allowedallowedJSON list of objects with keys ports (list) and protocol (IPProtocol).
denieddeniedJSON list of objects with keys ports (list) and protocol (IPProtocol).
networknetworkRecord Id of the related network.

Address (address)​

A reserved IP address.

Property nameSource pathNotes
descriptiondescription
addressaddress
address_typeaddressTypeNormalized to address_type_lk.
ip_versionipVersionNormalized to ip_version_lk.
purposepurposeNormalized to purpose_lk.
statusstatusNormalized to status_lk.
locationkey of the aggregated list scopeLast token of the scope (region, or global).
prefix_lengthprefixLength
network_tiernetworkTierNormalized to network_tier_lk.
networknetworkRecord Id of the related network. Only if the address has a network.
subnetworksubnetworkRecord Id of the related subnetwork. Only if the address has a subnetwork.
usersusersList of Record Ids of the resources using the address.

Address usage relation (usage_rel)​

Calculated record. It is generated by the preprocessing, one for each element of the users list of each address record, to represent the usage of the address by another resource.

Property nameSource pathNotes
useraddress.usersRecord Id of the resource that uses the address.
usedaddressRecord Id of the address.

MachineType (machinetype)​

Catalog of the Compute Engine machine types, used to enrich computeinstance and nodepool records with CPU and memory.

Property nameSource pathNotes
namename
descriptiondescription
memorymemoryMbConverted to GB.
cpusguestCpus

Notes​

  • The catalog is read only when an instance or node pool uses a machine type not yet extracted: in that case all the machine types of the location of the resource are read. Custom machine types (<family>-custom-<cpus>-<memory MB>) and the GKE Autopilot ones (ek-*) never trigger the reading. Each machine type is extracted once, even if used in several locations or projects.

Google Kubernetes Engine​

Cluster (cluster)​

A GKE cluster.

Property nameSource pathNotes
locationlocation
statusstatusName of the enum value. STOPPING is replaced with DELETE_IN_PROGRESS. Normalized to status_lk.
current_master_versioncurrentMasterVersion
release_channelreleaseChannel.channelName of the enum value. Normalized to release_channel_lk.
autopilotautopilot.enabled
networknetworkName of the network, not a relation.
subnetworksubnetworkName of the subnetwork, not a relation.
endpointendpoint
cluster_ipv4_cidrclusterIpv4Cidr
services_ipv4_cidrservicesIpv4Cidr

NodePool (nodepool)​

A node pool of a GKE cluster. One record is created for each node pool of each cluster.

Property nameSource pathNotes
statusstatusName of the enum value. STOPPING is replaced with DELETE_IN_PROGRESS. Normalized to status_lk.
initial_node_countinitialNodeCount
autoscalingautoscaling.enabled
autoscaling_min_node_countautoscaling.minNodeCount
autoscaling_max_node_countautoscaling.maxNodeCount
autoscaling_location_policyautoscaling.locationPolicyName of the enum value. Normalized to autoscaling_location_policy_lk.
machine_typeconfig.machineType
cpusmachinetype.cpusAdded by the preprocessing, with the same rules as computeinstance.
memorymachinetype.memoryIn GB. Added by the preprocessing, with the same rules as computeinstance.
disk_sizeconfig.diskSizeGb
disk_typeconfig.diskType
preemptibleconfig.preemptible
auto_upgrademanagement.autoUpgrade
auto_repairmanagement.autoRepair
service_accountconfig.serviceAccount
image_typeconfig.imageType
versionversion
labelsconfig.labelsTransformed to JSON.
cluster-Record Id of the related cluster.

For node pools, the machine type location used to read the machinetype catalog is the first of the node pool locations.

Cloud SQL​

DatabaseInstance (sqlinstance)​

A Cloud SQL instance.

Property nameSource pathNotes
database_versiondatabaseVersion
statestateRUNNABLE is replaced with RUNNING, PENDING_DELETE with DELETE_IN_PROGRESS. Normalized to state_lk.
locationregion
zonegceZone
tiersettings.tier
memorysqltier.memoryIn GB. Added by the preprocessing. For custom tiers (<family>-custom-<cpus>-<memory MB>) it is parsed from the tier name and converted from MB.
disk_quotasqltier.disk_quotaIn GB. Added by the preprocessing. Not set for custom tiers.
availability_typesettings.availabilityTypeNormalized to availability_type_lk.
disk_size_gbsettings.dataDiskSizeGb
disk_typesettings.dataDiskTypeNormalized to disk_type_lk.
connection_nameconnectionName
ip_addressesipAddresses[].ipAddressTransformed to JSON.
labelssettings.userLabelsTransformed to JSON.

Tier (sqltier)​

Catalog of the Cloud SQL tiers, used to enrich sqlinstance records with memory and disk quota.

Property nameSource pathNotes
nametier
memoryRAMConverted to GB.
disk_quotaDiskQuotaConverted to GB.

Notes​

  • The catalog is read only when an instance uses a tier not yet extracted: in that case all the tiers available for the project are read. Custom tiers (<family>-custom-<cpus>-<memory MB>) never trigger the reading. Each tier is extracted once, even if used in several projects.