Skip to main content
Usage

Examples

Upsert a rule from a JSON file:
Upsert from stdin:
Build a rule interactively:

Flags

JSON file path (use - for stdin)
Build the rule interactively

Output formatting flags

If true, ignore errors in templates due to missing fields or map keys. This only applies to golang and jsonpath output formats.
Output format. One of: (json, jsonl, ndjson, jsonpath, jsonpath-as-json, jsonpath-file).
Template string or path to a template file to use when —output=jsonpath, —output=jsonpath-file.
Last modified on July 15, 2026