Interface: ThreatFinding
Defined in: validators.ts:179 A single detector hit. Detectors that fire return at most one finding per call (one example is enough to reject the input).Properties
description
description: string
Defined in: validators.ts:183
Human-readable description suitable for log lines (not for end users — use getThreatErrorMessage instead).
matchedPattern?
Defined in: validators.ts:185 First 50 chars of the matching substring, for diagnostics. Truncated to prevent leaking large payloads in logs.optionalmatchedPattern?:string
type
type: ThreatType
Defined in: validators.ts:181
Which detector matched.