created_atstring date-time required
The date and time the policy was created.
descriptionstring nullable
The description of the Policy.
regostring required
The rego code which constitutes the Policy logic.
enabledboolean
If true, the policy is enabled.
is_terminalboolean
If true and the policy matches, no further policies are evaluated.
read_onlyboolean required
Whether this policy is read-only (only specific variables can be updated).
updated_atstring date-time required
The date and time the policy was updated.
versioninteger required
The version of the rego code.
precedenceinteger
The order in which this policy is evaluated relative to other policies.