Skip to Content
Use the customer portalGovernance rules

Policy Rules

Rules check AI activity against the behavior your organization expects. Open an application’s Policy tab to review or maintain its rules. The application workspace keeps each task in a separate section:

  • Rules: Create rules and review how each rule runs.
  • Results: Review policy outcomes for recorded activity.
  • Coverage: Review setup progress, application data coverage, and blocking readiness in separate views.
  • History: Review the latest 50 rule events, ten at a time.
  • Application data: Administrators and Developers confirm customer-provided fields when a rule needs them.

The workspace opens the section that best matches your role. A section can be shared as a link without opening every other policy report on the page.

Application data coverage includes only fields that active rules identify as inputs. VeriProof does not grade unrelated application data. If a rule has no policy data version, a Governance Engineer must select one before VeriProof can confirm coverage or blocking behavior. Administrators and Developers do not receive that policy-authoring action.

Who can author and approve rules

Each organization starts with these defaults. An Administrator can change them for each role.

TaskDefault roles
Create, test, and activate rules, including Shadow and EnforceGovernance Engineer
Approve Enforced deployment when the organization requires approvalAdministrator, Compliance Officer
Confirm application fields that a rule needsDeveloper, Administrator

If you hold several roles, switch to the role that owns the task. Development deployment doesn’t use the Production approval path.

Example: send large refunds for review

This rule sends any refund above $500 to a reviewer before it runs. It assumes the application sends the refund amount as a fact, for example facts={"refund_amount": 750}. VeriProof places application facts at input.snapshot.facts.<name>, so this fact is input.snapshot.facts.refund_amount.

  1. Open the application’s Policy tab, select Create policy rule, then Create blank policy rule.
  2. Under When the rule runs, choose Before action. Under When the rule matches, choose Escalate (send for review).
  3. In Review logic, leave Apply “Escalate” when activity set to Meets these conditions. That’s the default for new rules.
  4. Add the condition Refund Amount is greater than 500. A fact the application has sent but no one has confirmed appears under Sent by the application, not yet confirmed.
  5. In Test, add one case with { "snapshot": { "facts": { "refund_amount": 750 } } } and one with 250. Expect Escalate for 750 and Allow for 250.
  6. Save the tested version. In Activate, choose Shadow under Deployment step, select Check readiness, then Activate in Shadow. Compare the proposed results with real activity, then choose Enforced, check readiness again, and select Enforce policy.

The application must also handle the review. See Add human review for the SDK prerequisites.

Start from an application

Open the application that the rule will govern. VeriProof uses the application to choose the correct policy data, compare saved fields with recorded activity, identify the responsible Developer, find related rules, and show the supported before-action policy points. These points are defined by VeriProof’s policy contract; selecting an industry does not add new ones.

When a Developer creates an application, VeriProof assigns that person as its responsible Developer. A Governance Engineer can then author policy for the same application without an Administrator repeating the assignment. If the assignment is later removed, the Administrator receives the assignment action.

During Development, the responsible Developer completes setup in the application workspace. A Governance Engineer receives work for a requested policy handoff, a coverage gap, or a rule that needs application data.

Other roles receive the decisions assigned to them. Auditors inspect the completed record. Routine activity and new applications don’t create tasks for every role.

The application summary shows ownership, recorded activity, required fields, rules, approvals, and linked work. Check the item that needs attention before creating a new request.

Create a draft

Start with a Standard control when data that VeriProof already provides can express the intended behavior. A Standard control needs no application fields.

In an application’s Policy tab, select New rule. Choose one of the three Standard controls, browse more starting points, or create a blank rule.

If the application has an SDK vocabulary, the expanded view offers up to three examples from that catalog. Browse full template library opens the other universal and regulatory templates.

For a blank rule, start with Describe policy intent. Explain the behavior and expected outcome, adding scope and examples where helpful. If AI drafting is unavailable, continue in the guided editor and follow the displayed Administrator setup instructions.

From the organization Policy workspace, select Create rule and choose what the rule applies to. One application opens the same authoring workflow as New rule in the application. An application group and The whole organization open the shared policy builder. See Apply one rule to an application group.

Apply one rule to an application group

Use a group rule when several applications need the same control, such as six invoice agents in an Accounts payable group. You write, test, request Developer confirmation for, and activate the rule once. It applies to every application in the group.

  1. In the Policy workspace, select Create rule, choose An application group, and choose the group. You can choose only groups you manage. An Administrator manages every group.
  2. The builder uses one application in the group as its sample. Its field catalog includes the fields from the group’s field contract.
  3. Save the draft and check readiness. Readiness checks every application in the group and lists any application that is missing data.
  4. If fields are missing, select Request group fields. One request goes to the responsible Developer of an application in the group. The Developer confirms the fields once in the group’s field contract, and every application in the group uses them.
  5. In Activate, run the tested version in Shadow, then choose Enforced and select Enforce policy. Approval, change control, and separation of duties work the same way as for an application rule. You can enforce on a few applications first and the rest run the rule in Shadow.

Which applications a group rule covers

  • An application added to the group later is covered as soon as it joins. Its data must match the rule’s fields before the next deployment can pass readiness.
  • An application removed from the group stops using the rule.
  • During a staged rollout, an application that joins the group runs the rule in Shadow until you enforce it everywhere or widen the stage.

The rule’s details list the applications it covers now, each with a link to that application’s results for the rule. Applications outside your access are counted but not named.

How group rules combine with other rules

Every active rule that applies to an application evaluates: the application’s own rules, its groups’ rules, and organization rules. The most restrictive outcome wins: Deny, then Escalate, then Transform, then Warn, then Allow. Where a rule is defined doesn’t change which outcome wins.

Group fields that conflict

A group field contract can’t give a field a different data type from a member application’s own field with the same path, or from another group that shares an application. VeriProof refuses the change and names the conflicting application or group. If a conflict still reaches an application, readiness names the field so a Developer can fix the types.

Inherited rules in an application

An application’s Policy tab lists the group and organization rules it inherits. They’re read-only there. Select Open group rule to change one for every application it covers.

Start from recorded activity

To start from recorded activity, select a session or several sessions from the same application. Choose Create rule from this session or Continue in Policy.

VeriProof opens a monitoring draft based on their shared signals, using the session_activity@v1 data contract. The draft flags activity matching that pattern. Review its conditions before testing or activation.

The session decision type describes the overall business workflow. Individual steps retain their own outcomes and policy checks.

Generated Rego v1 stays in Advanced Rego. The guided view shows readable conditions. VeriProof prepares positive, negative, and boundary tests only when you accept the generated draft. Canceling the draft does not change existing tests. Starter controls include three tests. Test definitions stay with the draft, but you must rerun them after reopening or changing the rule.

Choose a Standard control

The template gallery includes three industry-neutral Standard controls:

  • Escalate model inputs escalates model inputs before the model runs.
  • Escalate agent outputs escalates model outputs before the application returns them.
  • Require identified tool calls denies a tool request when its tool name is missing.

Each starter also checks the application identity and where the policy runs. Select a starter, review its conditions, and run its tests before activation.

Review application fields

Add application fields only when the policy needs customer-provided data. In Review logic, choose confirmed data or type a plain-language need such as “Risk rating.” VeriProof adds it to the draft and lets you save and test the rule. A Developer must confirm the field before activation.

VeriProof can suggest fields from a schema, sample payload, or recorded activity. An Administrator or Developer confirms each field’s meaning, source, data type, and required presence before saving the field contract.

Governance Engineers decide which fields a rule needs. A rule using an unconfirmed field can’t be activated. Rules that use only VeriProof data can use an empty field contract.

Find technical paths, versions, hashes, and source details in the advanced views.

Open Application fields for policies in the application’s Policy tab as an Administrator or Developer. Search the SDK vocabulary and select the fields your policy needs. VeriProof loads their types, allowed values, SDK source, and catalog version for review.

You can also import a JSON Schema, OpenAPI file, code-annotation schema, or sample JSON payload. VeriProof detects the source and derives both data paths, then shows the fields for review before saving.

Developers usually confirm these fields; Administrators can do so too. Governance Engineers can inspect confirmed fields and their sources, but can’t change the mapping.

Confirmed SDK and industry-vocabulary fields appear as readable choices in the rule editor. Their definitions and allowed values are available in the input review and condition editor.

VeriProof may also offer up to three business-intent examples from the vocabulary. Use an example as a starting point, then review the conditions yourself. Selecting it doesn’t import illustrative Rego, choose a framework, or activate a rule. Industry examples and processing rules remain outside the core platform.

Confirm and save a field

Review each field’s meaning, application path, type, allowed values, example, and whether the application requires it. Saving creates a new field-contract version.

A sample or recorded activity can suggest a field, but an Administrator or Developer must confirm its meaning and source. For larger contracts, the view starts with fields needing review and the first six confirmed fields.

Search by meaning, path, type, or allowed value, or select Show all fields.

Open Technical contract details to copy an example that VeriProof builds from the saved contract. Use it to test the application integration. The example updates when a Developer or Administrator saves a new contract version.

Compare saved fields with activity

Each policy field belongs to a versioned field contract. VeriProof shows these states separately:

  • Provided by VeriProof: VeriProof supplies the field.
  • Saved and found in activity: the field contract and recorded activity agree.
  • Saved, not yet found: the field is in the contract but has not appeared in recorded activity.
  • Found, not saved: recorded activity contains the field, but the field contract does not.
  • Type does not match: recorded activity uses a different data type from the field contract.

If recorded activity uses another data version, the workspace names both versions. Update the SDK or integration to send the version selected for the policy, then run the application again. VeriProof does not mix fields from different versions.

A field found in activity is not automatically approved for policy use. A rule cannot be activated when it uses an unknown field. VeriProof records these field candidates even when the application has no active monitoring rule. This lets a Developer review representative activity before a Governance Engineer creates the first business-fact rule.

Require policy coverage only when needed

Unused application data does not create Governance Engineer work by default. Open Required policy coverage only when your organization requires an active rule for specific application data or a governed-action point. Select confirmed application data instead of entering its technical path. For a governed-action point, enter the registered point name used by the application.

Saving creates an immutable requirements version. VeriProof adds one Governance Engineer Inbox item for each requirement without an active rule. The item closes automatically when matching active coverage exists and reopens if that coverage is removed. Developer field requests and policy coverage requirements remain separate: Developers supply application data, while Governance Engineers supply the required rule.

Test and prepare activation

Once the draft has the inputs it needs, complete these stages:

  1. Describe the business intent, expected outcome, scope, and representative examples.
  2. Confirm inputs. Continue immediately for a Standard control, or ask the responsible Developer to confirm required business facts.
  3. Review logic in plain language. Standard controls state the matched result and what happens otherwise. Open rule conditions or raw Rego only when needed.
  4. Test positive, negative, and boundary cases.
  5. Review impact against historical sessions, or confirm that no historical data exists.
  6. Activate monitoring for recorded activity, or choose Shadow or Enforced for a before-action rule. Your authority and organization profile determine the available action.

For recorded activity, Evaluate against shows the selected activity source, such as Recent recorded activity. For an active before-action rule, Activate shows the current deployment separately from the selected next step.

Changing conditions or advanced Rego clears stale test and impact evidence. After you change a saved rule, save the draft before checking readiness. VeriProof binds readiness and deployment decisions to the exact saved version. Selecting Review activation from a draft rule opens the Activation stage; it does not bypass readiness.

If a monitoring draft still uses data available only before an action, historical impact tells you to remove those fields or return to Before action.

You can save, compile, and test a draft while application data is missing. Activation remains blocked until a Developer confirms the required data and the current tests pass.

When you add a test, describe the Situation and select the expected result. Open Test details only when you need to change the example application data or list expected reasons. VeriProof checks the JSON before it adds the test.

Write each expected reason as one clear sentence that explains the business outcome. This sentence appears in session evidence and can be returned to an authorized agent or application. Keep field paths and reason codes in technical evidence. For example, use The request exceeds the approved limit. instead of Policy violation.

VeriProof binds an approved response message to the governed rule version for durable enforcement evidence. Runtime values stay in the protected session record rather than being copied into the audit message.

Before-action data is not present in recorded sessions. For these rules, Review impact explains why historical comparison is unavailable and directs you to test both expected results. It does not show comparison controls that cannot produce evidence.

Choose the right rule type

  • Use a visual threshold rule for a straightforward measure and limit.
  • Use Rego when the decision needs several conditions or reusable policy logic.

Choose the simplest rule that expresses the expected outcome clearly.

Coordinate a missing application input

Developers supply application facts. Governance Engineers own policy behavior. Publishers or approvers authorize deployment.

When readiness reports missing application data, select Request application data. Review the request, then select Send request. VeriProof routes one deduplicated request to the responsible Developer. The request includes the environment, contract version, field meanings, source mappings, data types, allowed values, examples, and the blocked activation step. The Developer does not need to interpret the Rego source.

Select Review application data in the application data request. VeriProof opens that application’s Application data workspace with the requested fields and policy timing selected.

Confirm each field’s meaning, application path, and type, then save a new contract version. Confirmed definitions and recorded activity appear separately, so you can see whether the application has sent the expected data.

Enforced deployment also requires compatible test activity. Readiness identifies missing runtime evidence separately from missing Developer confirmation. After recording a test session, select Return to request to reopen the same Inbox panel.

If the application has no responsible Developer, an Administrator receives the assignment request. Readiness shows Developer assignment · Open · Administrator.

Select Assign developers to open Application Ownership and assign someone responsible for the code and SDK setup. Team access settings don’t create this assignment.

When the required data arrives, VeriProof resolves the request and notifies the policy owner. Select Policy data is ready in Inbox to open the linked rule at Test. The data, readiness, Inbox, and tracked work refresh before you continue.

If you change or delete the rule so that no rule linked to the request still reads the requested data, VeriProof cancels the request and removes it from the Developer’s Inbox.

For an enforced rule in Production, VeriProof waits for repeated evidence before creating Developer work. One missing value does not create an Inbox item. A qualified request closes when compatible application data returns.

Create and test a monitoring rule

  1. Open the application’s Policy tab.
  2. Confirm the policy outcome and application scope.
  3. Create the rule and explain what it should detect.
  4. Test it with representative sessions or a saved test set.
  5. Select Monitor after activity.
  6. Choose the after-activity response: Record, Notify, or Flag session.
  7. Open Activate, check the current evidence, and select Activate monitoring. VeriProof requests approval when the organization profile requires it.

This path evaluates completed evidence. It cannot prevent the completed action.

Create and test a before-action rule

  1. Create and test the exact rule version and application scope.
  2. Select Before action or the advanced Before and after activity placement.
  3. Review the version in Shadow. It records proposed results without changing application behavior, creating reviews or notifications, assigning violation work, or flagging sessions.
  4. In Activate, choose Enforced, select Check readiness, then Enforce policy, when your role permits it. Production can require approval for the exact version, application, and policy digests; the button then reads Request enforcement approval.

Editing an active rule returns the new version to Shadow and clears the earlier approval and deployment operation. Restoring an earlier version creates a draft and does not delete history.

Available actions depend on your permissions and the application’s environment.

Understand deployment approval

Your organization’s choice in Who approves rules and exceptions sets how many approvals a deployment needs:

  • No approval needed lets a publisher deploy a tested version directly.
  • One approval to enforce needs one approval for Enforced deployment.
  • Approval for Shadow, two to enforce needs one approval for Shadow and two for Enforced deployment.

Administrators and Compliance Officers approve. The requester doesn’t count unless no one else can approve; then they approve as the only eligible approver with a recorded reason. A production application always needs at least one approval. Each approval binds to the exact version, content hash, application, deployment mode, tests, and change summary.

As an Auditor, open Policy > Rules from an application in your active engagement. The read-only side panel contains version history and an expandable Audit history.

Review readiness evidence, approvals, deployment and restore history, linked work, and audit records. Each audit entry identifies the person, role, time, state, and related record. Open Technical evidence for exact hashes and deployment generations.

See how roles work together

SituationPath
One Governance Engineer authors and publishesAssign the Policy author and publisher template. When the organization needs no approval, that person can test and activate an eligible rule.
A Developer creates the applicationVeriProof assigns that Developer as the responsible technical owner. Governance Engineers use that assignment when a rule later needs application data.
A rule needs application dataThe Governance Engineer selects Request application data. The responsible Developer confirms the field and mapping. VeriProof refreshes readiness and tells the author when to retest.
One approval to enforceThe author requests Enforced deployment. One approver who did not request the change reviews the exact version and deployment record.
Approval for Shadow, two to enforceOne approver authorizes Shadow. Two approvers authorize Enforced deployment. The requester doesn’t count unless no one else can approve.
Audit verificationThe Auditor opens the read-only rule record and checks the version, tests, impact, approvals, deployment, linked work, and audit history.

Review an existing rule

Check its status, scope, recent results, and version history before you change it. If a rule creates too much or too little follow-up, inspect the matching sessions and exceptions before you adjust its conditions.

Rule details show the two latest versions first. Select Show older versions when you need more history. Deployment records show the change summary without internal user identifiers or system timestamps. The audit record retains those technical details.

Governance Engineers can open Versions while editing a saved rule. Compare shows the advanced source changes. Restore creates a new draft from the selected version and keeps the current version in the history. Restored before-action rules must pass readiness and activation again before they can affect application activity.

Open Audit history in the Activation stage to review the records linked to that policy change. The list brings together saved versions, readiness checks, Developer data requests, deployment requests, and approvals. Each entry shows the action, state, person or role, and time. Open Technical evidence only when you need the exact rule version, content hash, or deployment generation.

Last updated on