Policy File Structure
Every policy file has five top-level keys:Rule Anatomy
Each rule is a dictionary with the following fields:Rules are sorted by
priority at load time. A rule with priority 50 is evaluated before priority 200. The first match short-circuits evaluation.Available Fields
Conditions can reference these fields from the evaluation context:Condition Operators
The policy engine supports 10 operators:Match Modes
all(default) — Every condition must be true (logical AND).any— At least one condition must be true (logical OR).