PolicyFileResult
Defined in: runner.ts:59
Result of running a single policy on a single file.
Properties
Section titled “Properties”file:
string
Defined in: runner.ts:63
Path of the checked file, relative to the repository root.
outcome
Section titled “outcome”outcome:
PolicyHandlerResult
Defined in: runner.ts:69
The raw result from the policy handler
policy
Section titled “policy”policy:
string
Defined in: runner.ts:65
Display name of the policy.
policyId
Section titled “policyId”policyId:
string
Defined in: runner.ts:67
Stable identity of the configured policy instance
resolution?
Section titled “resolution?”
optionalresolution?:PolicyFixResult
Defined in: runner.ts:71
Standalone resolver result, normalized to the legacy format for compatibility.
scope?
Section titled “scope?”
optionalscope?:"file"
Defined in: runner.ts:61
File scope; omitted by the runner for backward compatibility.