Query

Execute a query on the delta export data

Executes the specified query on the delta export data. Supports optional gzip compression for output files by including the query parameter "outputCompression=gzip".

post/vis/v2/orgs/{orgId}/queries

Request

Path parameters

orgIdinteger required

The unique identifier for the organization

Example:100

Query parameters

resumeTokenstring

An opaque token to be provided when requesting a subsequent set of delta changes for the same query.

Example:c2VxPTc4MTY3NTkyODU3Mjk4NzY=
outputCompression'gzip'

If set to 'gzip', the server will return a gzip-compressed CSV. Supported value: gzip

Example:gzip

Request body

queryName'hardware_business_services' | 'hardware_contextualized' | 'hardware_evidence' | 'hardware_inventory' | 'hardware_inventory_source' | 'hardware_technopedia' | 'hardware_technopedia_lifecycle' | 'network_adapters' | 'software_evidence' | 'software_inventory' | 'software_inventory_source' | 'software_technopedia' | 'software_technopedia_lifecycle' | 'software_technopedia_lineage' | 'software_technopedia_release_platforms' | 'software_technopedia_versions' | 'business_services_applications' | 'business_services_assets' | 'business_services_dependent_applications' | 'software_vulnerability' | 'cpe_catalog' | 'software_vulnerability_cpe' | 'software_vulnerability_cve' | 'software_vulnerability_kb_article' | 'vulnerable_software' | 'hardware_model_profile' | 'hardware_model_power' | 'hardware_model_connectivity' | 'software_mashup' | 'device_mashup' | 'manufacturer_technopedia' | 'arl_alignment' | 'vulnerability_advisory' | 'vulnerability_cpe' | 'vulnerability_cve' | 'vulnerability_kb_article' | 'vulnerability' | 'servicenow_device' | 'servicenow_software' | 'servicenow_hardware_inventory' | 'servicenow_software_inventory' required

The query to execute.

Example request

{
  "queryName": "software_inventory"
}

Response

OK response.

idstring required

The unique query identifier

resumeTokenstring

The next delta value

Example response

{
  "id": "7d795afa-c508-4d47-92ae-248113a792d1",
  "resumeToken": "c2VxPTc4MTY3NTkyODU3Mjk4NzY="
}

Changes

No recorded changes to this operation across all 1 revision of this API.