API DocsVariables
SEVERITY_MAP
const SEVERITY_MAP: Record<Severity, number>
Defined in: types.ts:25
Numeric severity ranking map.
Lower numbers represent higher severity.
Used for:
- Severity threshold comparisons
- Sorting threats by priority
- Efficient numeric filtering
Example: SEVERITY_MAP["CRITICAL"] < SEVERITY_MAP["LOW"] // true