policy block defines compile-time rules evaluated during ubx validate and ubx apply. No OPA, no external tools.
Syntax
Example
Severity
| Value | Effect |
|---|---|
"error" | Blocks ubx validate and ubx apply |
"warn" | Shows warning, does not block |
Multiple Rules
All rules must pass:Condition Syntax
| Operator | Example |
|---|---|
== | acl == 'private' |
!= | acl != 'public-read' |
&& | encrypted == true && multi_az == true |
|| | type == 'small' || type == 'micro' |
! | !publicly_accessible |
null.
