PolicyFixResult
Defined in: policy.ts:201
The result of an automatic fix for a failing policy (legacy format).
Extends
Section titled “Extends”Properties
Section titled “Properties”autoFixable?
Section titled “autoFixable?”
optionalautoFixable?:boolean
Defined in: policy.ts:181
Set to true if the policy can be fixed automatically.
Inherited from
Section titled “Inherited from”errorMessages
Section titled “errorMessages”errorMessages:
string[]
Defined in: policy.ts:186
An optional error message accompanying the failure.
Inherited from
Section titled “Inherited from”file:
string
Defined in: policy.ts:176
Path to the file that failed the policy.
Inherited from
Section titled “Inherited from”manualFix?
Section titled “manualFix?”
optionalmanualFix?:string
Defined in: policy.ts:191
An optional string that tells the user how to fix the failure(s).
Inherited from
Section titled “Inherited from”name:
string
Defined in: policy.ts:171
Name of the policy that failed.
Inherited from
Section titled “Inherited from”resolved
Section titled “resolved”resolved:
boolean
Defined in: policy.ts:205
Set to true if the failure was resolved by the automated fixer.