secubox-openwrt/luci-app-crowdsec-dashboard/root/usr/share/rpcd/acl.d/luci-app-crowdsec-dashboard.json

42 lines
765 B
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"
],
"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"
]
},
"uci": [ "crowdsec-dashboard" ]
}
}
}