- 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>
53 lines
1.0 KiB
JSON
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" ]
|
|
}
|
|
}
|
|
}
|