Rego policies are like checklist rules — define what must be present, and the policy engine flags anything missing from the checklist.
OPA Rego policies are declarative. required_tags defines what must exist. deny[msg] defines what violates policy. If any deny rule matches, the resource fails the check.
# Editing policy/require_tags.rego in VS Code with OPA extension
Rego policies are like checklist rules — define what must be present, and the policy engine flags anything missing from the checklist.
OPA Rego policies are declarative. required_tags defines what must exist. deny[msg] defines what violates policy. If any deny rule matches, the resource fails the check.
# Editing policy/require_tags.rego in VS Code with OPA extension
Sign in to cast your vote
Sign in to share your feedback and join the discussion.