Compound Policies
Compound rules
Rule
Passes when
Use for
The critical gotcha: not(all_of(...))
not(all_of(...)){"rule_type": "all_of", "params": {"conditions": [A, B, C]}}{
"rule_type": "not",
"params": {
"condition": {
"rule_type": "all_of",
"params": {"conditions": [A, B, C]}
}
}
}Worked example: the taint policy
Another example: PII + product data + model requires approval
Debugging compound policies
Next steps
Last updated
