PromptShield logo PromptShield
API DocsType aliases

Severity

Severity = "LOW" | "MEDIUM" | "HIGH" | "CRITICAL"

Defined in: types.ts:10

Severity levels assigned to detected threats.

These levels are ordered by risk:

LOW < MEDIUM < HIGH < CRITICAL

The scanner may filter results using ScanOptions.minSeverity.