CHG-177784-19-302576
The module Cloud Infrastructures incorporates GCP as a subscription platform. When you create a subscription, the Platform allows you to select GCP and requests the Client ID and the Service Account JSON Key, which is uploaded as a file .json downloaded from the Google Cloud console. The system validates that the file corresponds to a service account and that its customer ID matches the one entered. The service account requires the role Compute Visualizer (roles/compute.viewer) and the Compute Engine API enabled on the project.
Synchronization, scheduled or on-demand, queries compute instances in all zones of the project, without the need to select zones or regions, and logs them in Inventory > Infrastructure with their machine type, state, zone, cores, memory, storage, operating system, and key and value type tags. GCP instances are identified by the Platform, can be filtered by platform and paired with inventoried devices to identify those that have the ADM agent installed.
The credential is stored encrypted and is not displayed in plain text in the console. When editing the subscription, the JSON key is replaced only if a new file is uploaded.