convert_rules
Convert Sigma detection rules into backend-native queries for postgres, lynxdb, fibratus, or other targets via sigma-cli. Accepts inline YAML or file paths.
Instructions
Convert Sigma rules to backend-native queries. target is one of postgres/lynxdb/fibratus (native); when the server runs with --allow-sigma-cli, any other target is delegated to an installed sigma-cli, reaching the full pySigma backend set. Accepts inline yaml or a file/directory path, optional pipelines, format, backend options, and skip_unsupported.
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`. | |
| format | No | Backend-specific output format. Defaults to `default`. | |
| target | Yes | Backend target: `postgres` (aliases `postgresql`, `pg`), `lynxdb`, or `fibratus` convert natively; any other target is delegated to an installed sigma-cli when the server runs with `--allow-sigma-cli`. | |
| options | No | Backend options as key=value pairs (e.g. `table` -> `events`). | |
| pipelines | No | Processing pipelines (builtin names or file paths). | |
| skip_unsupported | No | Report unconvertible rules as warnings instead of failing the call. |