Skip to main content

Write Entitlements Policies

This section assumes basic familiarity with OPA’s policy language Rego. The following resources provide an introduction to Rego:

When writing policies that make Entitlements decisions, you store those policies in the policy folder with the Rego package policy.

The following are important rules:

  • enforce: Decisions made by these rules contribute to the overall decision.
  • monitor: Decisions made by these rules do not contribute to the decision, but are recorded in the decision.