draft_rule
Drafts a Sigma detection YAML rule from a plain-English threat description. Returns validated YAML body, MITRE technique IDs, and draft notes.
Instructions
Draft a sigma detection YAML rule from a natural-language threat description.
Use when the caller needs a starting-point sigma rule and only has a plain-English threat summary plus optional MITRE TTP hints. Returns a structured envelope with the YAML body, a pySigma round-trip validation result, the inferred MITRE technique IDs, and draft notes covering redactions + open issues. Tool is deterministic and local -- no network, no LLM call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | Yes | ||
| rule_type | No | process_creation | |
| references | No | ||
| target_platform | No | windows | |
| severity | No | medium | |
| mitre_ttps | No | ||
| title | No | ||
| author | No | WRG sigma-rule-writer |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||