secubox-openwrt/package/secubox/luci-app-crowdsec-dashboard/root/usr/share/rpcd/acl.d/luci-app-crowdsec-dashboard.json
2026-01-14 12:20:12 +01:00

64 lines
1.3 KiB
JSON

{
"luci-app-crowdsec-dashboard": {
"description": "Grant access to LuCI CrowdSec Dashboard",
"read": {
"ubus": {
"luci.crowdsec-dashboard": [
"get_overview",
"decisions",
"alerts",
"metrics",
"bouncers",
"machines",
"hub",
"status",
"stats",
"secubox_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",
"health_check",
"capi_metrics",
"hub_available"
],
"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",
"install_hub_item",
"remove_hub_item"
]
},
"uci": [ "crowdsec", "crowdsec-dashboard" ]
}
}
}