Skip to content

PolicyFileResult

Defined in: runner.ts:59

Result of running a single policy on a single file.

file: string

Defined in: runner.ts:63

Path of the checked file, relative to the repository root.


outcome: PolicyHandlerResult

Defined in: runner.ts:69

The raw result from the policy handler


policy: string

Defined in: runner.ts:65

Display name of the policy.


policyId: string

Defined in: runner.ts:67

Stable identity of the configured policy instance


optional resolution?: PolicyFixResult

Defined in: runner.ts:71

Standalone resolver result, normalized to the legacy format for compatibility.


optional scope?: "file"

Defined in: runner.ts:61

File scope; omitted by the runner for backward compatibility.