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>
34 lines
609 B
JSON
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"]
|
|
}
|
|
}
|
|
}
|