PolicyAnalysis
The lint analysis of a Policy document: the engine and profile versions, the fields read, the variables and resources to resolve at Agent version publish, the size, and the warnings (1.47.0).
An object with 9 fields.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
engine_version | string | yes | The Zen engine version the analysis was computed under (RULES_ENGINE_VERSION). |
fail_safe_action | boolean | yes | True when the action type is fail-safe (orchestration-layer.md 3.6): applying it in error can only narrow what the Agent does or add notice. |
named_resources | PolicyNamedResources | yes | |
nodes | integer | yes | The nodes of the document. |
profile_version | integer | yes | The version of the Vocal JDM profile (JDM_PROFILE_VERSION). |
referenced_fields | array of string | yes | The fields of the Call context the document reads, as dotted paths, sorted. Field names only, never values. |
rows | integer | yes | The rows of all its decision tables. |
unresolved_variables | array of string | yes | The variables the document reads or a set_variable names, sorted; Agent version publish requires each to be declared, of a compatible type. |
warnings | array of PolicyLintFinding | yes | The warnings of the lint; they never refuse. |