The Investigation Insights – Google Compute Engine integration gives users the ability to lookup IP addresses and host names for VM instances in your Google Compute Engine infrastructure. The integration supports both internal and external IP lookups, and internal and custom host names. Internal host names must end in .internal and custom host names must end in a public suffix to be recognized.
The integration uses the Google Compute Engine REST API to fetch instance information for the specified project. In order to provide fast lookups on external and internal IP addresses associated with VM Instances as well as both ZonalDNS and custom host names, the integration will cache IP address, host name, and zone information in memory when it first starts. This works by fetching 500 instances at a time from the Google Compute Engine REST API and building an in-memory map of the data which maps IP and hostname to an instance ID and zone. When a lookup request is sent for an IP address or host, the in-memory map is checked for a hit before the full instance details are retrieved through a REST API request.
By default, the integration will refresh the in-memory cache when it is restarted, and then once every 24 hours at midnight. You can adjust this refresh interval by providing your own CRON tab string via the “Instance Cache Update Cron” option.
In addition to custom host names, the integration will also build the internal (local) domain name using Zonal DNS rules. The integration will only search instances that are part of the project associated with the provided service account key
Examples
Google Compute Engine Data Overview
- Summary Tags: When an analyst runs a search with the Google Compute Engine they will immediately be able to know what the server name is and its purpose.
- Server Info: When drilling into the details of the integration the analysts will be able to get more information on the server. From its name to when it was created, what zone it belongs to and its status.
- Labels and Network Info: While in the details of the integration analysts will also be able to get an understanding of any associated labels and the network interfaces. The can get more insights int the access configs and the network IP.
- Tags and Disks: While in the details of the integration analysts will also be able to get an understanding of any associated tags and disk information.