PolicyEvaluateResult
The result of a dry run of one Policy (1.47.0, FR-orchestration-8).
An object with 16 fields.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
action | PolicyAction or null | yes | The matched action with its parameters; null when not matched, and when it applies by failing closed. |
action_type | PolicyActionType | yes | |
applies | boolean | yes | Whether the action applies after orchestration-layer.md 3.9: when matched, or when a compliance-tagged Policy fails closed. |
cause | PolicyOutcomeCause or null | yes | Why the outcome is error or timeout; null otherwise. |
compliance_tag | ComplianceTag or null | yes | |
elapsed_us | number | yes | The evaluation time in microseconds, as the engine measured it (a measurement of this run, never a budget). |
engine_version | string | yes | |
fail_closed | boolean | yes | True when the action applies only because the compliance tag resolved an error or a timeout. |
hook | HookPoint | yes | |
object | "policy_evaluation" | yes | |
outcome | PolicyOutcome | yes | |
output | any | yes | The engine's output as it returned it; null on an error. |
policy_id | PolicyId | yes | |
rule_id | string or null | yes | The _id of the table row that matched (the _rule output), or null. |
trace | array or null | yes | The engine trace when the request asked for it; null otherwise. Returned, never stored. |
version | integer or "draft" | yes | The version that ran, or draft. |
Used by
The operations whose parameters, request body or responses name this shape directly.