secubox-openwrt/package/secubox/luci-app-crowdsec-dashboard/root/usr/share/rpcd/acl.d/luci-app-crowdsec-dashboard.json
CyberMind-FR 4b1e0f3405 feat: Add realtime acquisition statistics to CrowdSec metrics view
New features:
- New RPCD method: acquisition_metrics for detailed stats
- Realtime metrics display with 10-second polling
- Visual stat cards: lines read, parsed, unparsed, buckets
- Parse rate progress bar with color coding
- Active acquisition sources badges
- Rate calculation (events/sec) between polls
- Live update indicator with timestamp

API changes:
- Added getAcquisitionMetrics() to API layer
- Added acquisition_metrics to ACL permissions

Bumped version to 0.7.0-17

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 07:29:48 +01:00

58 lines
1.2 KiB
JSON

{
"luci-app-crowdsec-dashboard": {
"description": "Grant access to LuCI CrowdSec Dashboard",
"read": {
"ubus": {
"luci.crowdsec-dashboard": [
"decisions",
"alerts",
"metrics",
"bouncers",
"machines",
"hub",
"status",
"stats",
"seccubox_logs",
"waf_status",
"metrics_config",
"collections",
"firewall_bouncer_status",
"firewall_bouncer_config",
"nftables_stats",
"check_wizard_needed",
"wizard_state",
"console_status",
"acquisition_config",
"acquisition_metrics"
],
"file": [ "read", "stat" ]
},
"uci": [ "crowdsec", "crowdsec-dashboard" ]
},
"write": {
"ubus": {
"luci.crowdsec-dashboard": [
"ban",
"unban",
"collect_debug",
"configure_metrics",
"install_collection",
"remove_collection",
"update_hub",
"register_bouncer",
"delete_bouncer",
"control_firewall_bouncer",
"update_firewall_bouncer_config",
"repair_lapi",
"console_enroll",
"console_disable",
"service_control",
"configure_acquisition",
"reset_wizard"
]
},
"uci": [ "crowdsec", "crowdsec-dashboard" ]
}
}
}