What’s Validated
- YAML syntax correctness
- Required fields present
- Valid operators and field names
- List and macro references exist
- Output template syntax
- Regex patterns (if used)
- Performance warnings
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Check your rules for syntax errors and issues before deploying
# Validate all rules (default + custom directories) - default behavior
./blocklight validate
# Validate rules in a specific directory
./blocklight validate --rules rules/custom/
# Validate a single rule file
./blocklight validate --rule rules/custom/my_rule.yaml