Export Detection
export_detectionExport individual detection rules as raw query text in SPL, KQL, or Sigma format, or retrieve the full JSON detection object for integration and analysis.
Instructions
Export one detection rule in a specific format. format=spl|kql|sigma returns the raw query text for that flavor; format=json returns the full detection object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | spl, kql, sigma, or json | |
| detection_id | Yes | Detection ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | ||
| content | No | Rule text for spl/kql/sigma. For format=json the detection object is returned directly instead. | |
| available | No | ||
| detection_id | No |