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
fix: Resolve agent_id from case entities, count auto_verdict for FP rate (refs #25)
Three fixes from @nikopuf's testing:
1. block_ip agent_id: Instead of hardcoding "001" (which may not exist),
resolve agent_id from the case's host entity (e.g., agent_id: "002").
Falls back to "all" if no entity has an agent_id.
2. false_positive_rate: KPI endpoint now counts cases where auto_verdict
is "false_positive" in addition to status === "false_positive". The
investigation agent sets auto_verdict but the pipeline status continues
to executed/closed, so the previous check missed them.
3. Better error context: Wazuh 400 errors now include a descriptive note
explaining the likely cause per action type.
0 commit comments