convert_rule
Converts validated Sigma YAML rules into SIEM-native queries for Splunk, Elastic, Kibana, or Wazuh, returning the query and 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"yaml_content": "<yaml_content>"
},
"name": "convert_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| yaml_content | Yes | ||
| target | No | splunk | |
| config | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||