Interface: InjectionMatch

Defined in: guardrails/injection-detection.ts:178

A single injection match

Properties

category

category: string;

Defined in: guardrails/injection-detection.ts:182

description

description: string;

Defined in: guardrails/injection-detection.ts:180

matchedText

matchedText: string;

Defined in: guardrails/injection-detection.ts:184

The text that matched

patternId

patternId: string;

Defined in: guardrails/injection-detection.ts:179

severity

severity: "low" | "medium" | "high";

Defined in: guardrails/injection-detection.ts:181

source?

optional source?: string;

Defined in: guardrails/injection-detection.ts:186

Where the content came from (if known)