validate_rules
Validate Sigma rules by parsing YAML, building detection engines, and checking correlation references. Supports inline YAML or file paths with optional processing pipelines.
Instructions
Validate that Sigma rules parse and compile cleanly: parse, build the detection engine, and check correlation references. Optional pipelines and resolve_sources (resolve dynamic sources). Accepts inline yaml or a file/directory path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to a Sigma file or directory. Mutually exclusive with `yaml`. | |
| yaml | No | Inline Sigma YAML. Mutually exclusive with `path`. | |
| pipelines | No | Processing pipelines (builtin names like `ecs_windows` or file paths). | |
| resolve_sources | No | Resolve dynamic pipeline sources (file/command/HTTP) during validation. |