secubox-openwrt/package/secubox/luci-app-crowdsec-dashboard/root/usr/share/rpcd/acl.d/luci-app-crowdsec-dashboard.json
CyberMind-FR e5b6d1dd87 feat: Add CrowdSec Console enrollment to setup wizard (v0.6.0-r28)
- Add console_status, console_enroll, console_disable RPCD methods
- Insert Console enrollment as Step 2 in the 7-step wizard
- Add API declarations and ACL permissions for console operations
- Enable share_manual_decisions, share_tainted, share_context by default on enrollment

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 14:40:24 +01:00

53 lines
1.0 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"
],
"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"
]
},
"uci": [ "crowdsec-dashboard" ]
}
}
}