PolicyFailure
Defined in: policy.ts:167
A policy failure (legacy format).
Extended by
Section titled “Extended by”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.
errorMessages
Section titled “errorMessages”errorMessages:
string[]
Defined in: policy.ts:186
An optional error message accompanying the failure.
file:
string
Defined in: policy.ts:176
Path to the file that failed the policy.
manualFix?
Section titled “manualFix?”
optionalmanualFix?:string
Defined in: policy.ts:191
An optional string that tells the user how to fix the failure(s).
name:
string
Defined in: policy.ts:171
Name of the policy that failed.