Creating a saved query
To create a saved query, embed a Query object specifying the request 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 you create a Saved Query, you can evaluate the request specified by its Query on demand.- endorctl
- curl
- HTTP
jq command 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: