secubox-openwrt/package/secubox/luci-app-mitmproxy/root/usr/share/rpcd/acl.d/luci-app-mitmproxy.json
CyberMind-FR e9ef4a0e7e feat(mitmproxy): Add bans list and unban RPCD methods
New methods for threats monitor dashboard:
- bans: Get CrowdSec decisions with counts by source
  Returns total, mitmproxy_autoban, crowdsec counts + full bans array
- unban: Remove ban by IP address

Updates ACL to include new methods for LuCI access.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-09 07:21:58 +01:00

34 lines
609 B
JSON

{
"luci-app-mitmproxy": {
"description": "Grant access to mitmproxy",
"read": {
"ubus": {
"luci.mitmproxy": ["status", "settings", "alerts", "threat_stats", "subdomain_metrics", "bans"]
},
"uci": ["mitmproxy"]
},
"write": {
"ubus": {
"luci.mitmproxy": [
"install",
"start",
"stop",
"restart",
"save_settings",
"set_mode",
"setup_firewall",
"clear_firewall",
"wan_setup",
"wan_clear",
"clear_alerts",
"haproxy_enable",
"haproxy_disable",
"sync_routes",
"unban"
]
},
"uci": ["mitmproxy"]
}
}
}