Creating a saved query
To create a saved query, a Query object specifying the request is embedded in a SavedQuery object.- endorctl
- curl
- HTTP
Updating a saved query
The following example updates the Query specified in the SavedQuery to add additional list parameters.- endorctl
- curl
- HTTP
endorctl api update:
Evaluating saved queries
After a Saved Query has been created, the request specified by the Query in the SavedQuery may be evaluated on demand.- endorctl
- curl
- HTTP
jq command may be used to extract the nested data.
For the example queries given above, the following command will evaluate the given saved query, and extract the list of Finding objects from the Query response: