Interface: PolicyViolation¶
Defined in: core/src/types/policy.ts:67
A single policy violation.
Properties¶
kind¶
kind:
PolicyKind
Defined in: core/src/types/policy.ts:71
Policy kind
message¶
message:
string
Defined in: core/src/types/policy.ts:75
Human-readable violation message
policyName¶
policyName:
string
Defined in: core/src/types/policy.ts:69
Name of the violated policy
severity¶
severity:
PolicySeverity
Defined in: core/src/types/policy.ts:73
Severity of the violation
source?¶
optionalsource?:string
Defined in: core/src/types/policy.ts:79
Source file/skill where the violation occurred
suggestion?¶
optionalsuggestion?:string
Defined in: core/src/types/policy.ts:77
Suggested remediation