You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
π§ CRITICAL: Fix notification system severity filtering and content
MAJOR NOTIFICATION FIXES:
- β Fix severity filtering - now properly filters vulnerabilities by min_severity
- β Enhanced CVSS parsing with proper base score extraction (9.0+ = Critical, 7.0+ = High, etc.)
- β Rich notification content with vulnerability details and severity breakdown
- β Show top 5 most severe vulnerabilities with titles in notifications
- β Improved Discord/Slack message formatting with better colors and emojis
- β Fixed severity determination logic with proper CVSS impact analysis
BEFORE: π’ LOW severity with 31 vulnerabilities (all shown regardless of filter)
AFTER: π₯ HIGH severity with only high/critical vulnerabilities (properly filtered)
NOTIFICATION IMPROVEMENTS:
- Detailed vulnerability titles and summaries
- Severity breakdown (Critical: X, High: Y, Medium: Z)
- Better emoji usage (π₯ Critical, π High, π‘ Medium, π’ Low)
- Truncation handling for long messages
- Rich formatting for Discord and Slack
The min_severity filter now actually works and notifications contain useful details!
// Extract base score if present (e.g., "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C/CR:X/IR:X/AR:X/MAV:X/MAC:X/MPR:X/MUI:X/MS:X/MC:L/MI:L/MA:L")
0 commit comments