Search Tokens for GCP Assets

Syntax help displayed in UI for tokens. Click each token to learn more about it.

Use these tokens when searching your Google Cloud Platform assets in the tag creation wizard (Dynamic tag > Cloud Asset Search rule).

Note:

- For all the date-related tokens, the date search is evaluated only for UTC format. The actual search results might show you the date as per your time zone.

- For the range searches, remember that the QQL search tokens are case-sensitive. Hence, make sure that you enter the correct token syntax. For more information, see Range Searches.

 

gcp.compute.hostname

gcp.compute.instanceId

gcp.compute.imageId

gcp.compute.macAddress

gcp.compute.machineType

gcp.compute.network

gcp.compute.privateIpAddress

gcp.compute.projectId

gcp.compute.projectNumber

gcp.compute.publicIpAddress

gcp.compute.state

gcp.compute.zone

gcp.compute.hasAgent

gcp.labels.name

gcp.labels.value

 

Supported Boolean Operators

The Qualys Query Language (QQL) supports the following logical or Boolean query operators. Use these operators in your queries to narrow down or broaden your search.

and

not

or