sophos_run_saved_xdr_query
Runs a saved XDR query by its ID, returning a run ID to retrieve results. Enables security data analysis across endpoints.
Instructions
Run a saved XDR query (from the query library) by its query ID. Returns a run ID to poll for status and results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_date | No | End of the query time range (ISO 8601 timestamp or duration) | |
| query_id | Yes | UUID of the saved XDR query to execute | |
| from_date | No | Start of the query time range (ISO 8601 timestamp or duration) | |
| tenant_id | Yes | The tenant ID to run the XDR query against | |
| variables | No | JSON array of variable objects: [{name, dataType, value, pivotType?}]. dataType values: double|integer|text|dateTime|boolean | |
| category_id | No | Category UUID the saved query belongs to (optional) | |
| endpoint_ids | No | Comma-separated list of endpoint UUIDs to scope the query |