Skip to main content
The definitions below use the same schemas as the Forge Console, API, and Terraform provider. Replace example identifiers with values resolved from your own Forge organization.

Tool approval

This Content policy pauses a selected tool before execution and creates an administrator approval request.
require_approval requires exactly evaluateOn: ["pre_tool"]. The group name is resolved to a canonical directory binding when the policy is saved.

Result filtering

This Content policy removes objects classified as sensitive from a structured tool-result array.
The policy acts only on tool results whose root contains a rows array. onUnavailable: "block" prevents the original unfiltered result from continuing if the expected structure is absent.

MCP control

This Content policy blocks one MCP tool for a selected group.
Use the stable Registry IDs supplied by Forge. A tool condition must identify exactly one parent MCP server.

Destination block

This Access policy blocks an AI destination at the endpoint route and provides a user-facing notification.
Because the scope is organization-wide and the action is disruptive, acknowledgeBroadScope is required.

Account review

This Access policy records proven personal-account use for review without blocking the activity.
The second condition prevents the policy from treating hinted or inferred account metadata as proven.

Runtime quarantine

This Access policy blocks a selected runtime and authorizes quarantine after the block.
Forge derives the remediation target from the positive process.id condition. The selected enforcedBy integration must advertise support for quarantineRuntime on local_runtime.

Rego match

This is the logic.module for a Content policy that blocks a Shell tool call when its structured command targets a production path:
The policy object still supplies appliesTo, evaluateOn: ["pre_tool"], and action: "block". Rego supplies only the match result.