secubox-openwrt/package/secubox/luci-app-crowdsec-dashboard/htdocs/luci-static/resources/view/crowdsec-dashboard
CyberMind-FR 40195b5983 fix(crowdsec-dashboard): Show CAPI blocklist decisions in stats
The dashboard was showing 0 decisions because `cscli decisions list`
only returns local decisions, not CAPI blocklist entries.

Fixed by:
- Parsing CAPI decision counts from `cscli metrics` output
- Added separate local_decisions and capi_decisions fields
- Updated overview to show "CAPI Blocklist" and "Local Bans" separately
- Fixed get_capi_metrics to use metrics parsing instead of decisions list

This correctly shows ~15,000 CAPI blocklist IPs instead of 0.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 12:21:28 +01:00
..
alerts.js feat(crowdsec+haproxy): Dashboard refactor, custom parsers & scenarios 2026-01-27 11:16:17 +01:00
bouncers.js feat(crowdsec+haproxy): Dashboard refactor, custom parsers & scenarios 2026-01-27 11:16:17 +01:00
decisions.js feat(crowdsec+haproxy): Dashboard refactor, custom parsers & scenarios 2026-01-27 11:16:17 +01:00
metrics.js feat(crowdsec-dashboard): Add system health check and CAPI metrics 2026-01-12 17:08:29 +01:00
overview.js fix(crowdsec-dashboard): Show CAPI blocklist decisions in stats 2026-01-27 12:21:28 +01:00
settings.js feat(crowdsec+haproxy): Dashboard refactor, custom parsers & scenarios 2026-01-27 11:16:17 +01:00
waf.js feat(theming): Add custom navigation tabs to Client Guardian and CrowdSec dashboards 2026-01-09 13:44:11 +01:00
wizard.js feat(crowdsec-dashboard): Add LAPI-only mode, enrollment key storage, improved contrast 2026-01-13 14:30:17 +01:00