Details

This atomic belongs to the Cisco Orbital atomic group.

Executes an Orbital catalog query or SQL query on all endpoints. Waiting for the query to complete is optional.

Target: Orbital - v0 integration target or an HTTP Endpoint for "orbital.amp.cisco.com" with a path of "/v0"

Account Key: None if using an integration-provided target, access token if using an HTTP Endpoint

Steps:
[] Validate required input
[] Build the endpoint identifier for the query
[] Validate that an identifier was provided
[] Build the request payload
[] Send the query request to Orbital
[] Check if the job was started
[] Get the job ID and add it to an output variable
[] Check if we're waiting for the query to finish (if not, end the workflow)
[] Loop until the Orbital job finishes or expires
[]> Check if the job expired (if it did, end the workflow)
[]> Attempt to fetch job results
[]> Check if a result was obtained (if not, sleep for 1 second and try again)

More information about this API: https://developer.cisco.com/docs/orbital/catalogqueryresponse/

About
Integration
Authorship
Cisco Managed