feat: add Top Attacking IPs chart component and integrate into CrowdSec configuration page
- Implemented TopAttackingIPsChart component for visualizing top attacking IPs. - Created hooks for fetching CrowdSec dashboard data including summary, timeline, top IPs, scenarios, and alerts. - Added tests for the new hooks to ensure data fetching works as expected. - Updated translation files for new dashboard terms in multiple languages. - Refactored CrowdSecConfig page to include a tabbed interface for configuration and dashboard views. - Added end-to-end tests for CrowdSec dashboard functionality including tab navigation, data display, and interaction with time range and refresh features.
This commit is contained in:
11
CHANGELOG.md
11
CHANGELOG.md
@@ -9,6 +9,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
### Added
|
||||
|
||||
- **CrowdSec Dashboard**: Visual analytics for CrowdSec security data within the Security section
|
||||
- Summary cards showing total bans, active bans, unique IPs, and top scenario
|
||||
- Interactive charts: ban timeline (area), top attacking IPs (bar), scenario breakdown (pie)
|
||||
- Configurable time range selector (1h, 6h, 24h, 7d, 30d)
|
||||
- Active decisions table with IP, scenario, duration, type, and time remaining
|
||||
- Alerts feed with pagination sourced from CrowdSec LAPI
|
||||
- CSV and JSON export for decisions data
|
||||
- Server-side caching (30–60s TTL) for fast dashboard loads
|
||||
- Full i18n support across all 5 locales (en, de, fr, es, zh)
|
||||
- Keyboard navigable, screen-reader compatible (WCAG 2.2 AA)
|
||||
|
||||
- **Notifications:** Added Ntfy notification provider with support for self-hosted and cloud instances, optional Bearer token authentication, and JSON template customization
|
||||
|
||||
- **Certificate Deletion**: Clean up expired and unused certificates directly from the Certificates page
|
||||
|
||||
Reference in New Issue
Block a user