mirror of
https://github.com/ParrotXray/Mantis.git
synced 2026-08-24 18:50:28 +09:00
Adapt detection page to UnifiedAlert API
Replace old AlertLog type (rf_score, ensemble_score, confidence-based severity) with UnifiedAlert matching the backend serde output: - source: ml | rule | fusion - severity: high | critical (from backend, not derived from confidence) - rule_sid / rule_msg fields for rule/fusion alerts - attack_type now nullable Other fixes carried over: - getAiAlertStream -> getDetectionAlertStream - isPausedRef pattern prevents WS re-subscription on pause toggle - Dual filter: severity x source - Stats cards expanded to 7 (Total/Critical/High/ML/Rule/Fusion/UniqueIPs) - ML scores only shown for ml/fusion; rule details only for rule/fusion - AIDetectionTypes import removed; all types defined inline https://claude.ai/code/session_01Wen51749mAnwBEfh7XmvUw
This commit is contained in:
parent
3bfcbd9727
commit
4c4b51800f
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user