Skip to content

PolicyFixResult

Defined in: policy.ts:201

The result of an automatic fix for a failing policy (legacy format).

optional autoFixable?: boolean

Defined in: policy.ts:181

Set to true if the policy can be fixed automatically.

PolicyFailure.autoFixable


errorMessages: string[]

Defined in: policy.ts:186

An optional error message accompanying the failure.

PolicyFailure.errorMessages


file: string

Defined in: policy.ts:176

Path to the file that failed the policy.

PolicyFailure.file


optional manualFix?: string

Defined in: policy.ts:191

An optional string that tells the user how to fix the failure(s).

PolicyFailure.manualFix


name: string

Defined in: policy.ts:171

Name of the policy that failed.

PolicyFailure.name


resolved: boolean

Defined in: policy.ts:205

Set to true if the failure was resolved by the automated fixer.