convert_rule
Converts a validated Sigma YAML rule into a SIEM query for Splunk, Elasticsearch, or Wazuh. Returns the translated query with any conversion warnings.
Instructions
Convert a sigma YAML rule into a SIEM-native query string.
Use when the caller has a validated sigma rule and needs the equivalent query for Splunk SPL, Elasticsearch / Kibana Lucene, or Wazuh. Returns the primary converted query plus conversion lossiness warnings (e.g. unsupported modifiers). Missing pySigma or missing backend packages return actionable error envelopes with the exact pip install command.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| yaml_content | Yes | ||
| target | No | splunk | |
| config | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||