Updated: Dec 28, 2022
CONFIGURING OS INVENTORY MANAGEMENT
Follow the instructions provided here to enable cloud inventory collection for compute instances and enable guest attributes,
INSTALL GOOGLE CLOUD SDK
Follow the instructions outlined here to install the Google Cloud SDK. The SDK should be installed on the same host that has twigs installed.
Open a terminal and ensure twigs is installed. twigs gcp -h ( You will need to get a TWIGS API key from ThreatWatch I3 console ) Sign-in to your GCP instance on the box where twigs is installed, using gCloud CLI as described here,
Finally run the following command to discover and report all meta data related to compute instances into ThreatWatch and run vulnerability and configuration checks.
twigs gcp [--enable_tracking_tags] twigs gcp_cis --assetid [ASSET_ID]
Addition help can be found,
THREATWATCH I3 CONSOLE
Analytics, security vulnerabilities, mis-configurations, static and dynamic analysis for base images, running apps and containers can now be managed from the I3 console.