- Add secubox-p2p backend package: - UCI configuration for P2P settings, DNS federation, WireGuard mesh, HAProxy - RPCD handler for peer management, service discovery, mesh configuration - Init script and main P2P manager daemon - Add luci-app-secubox-p2p frontend package: - Main hub view with master control, network matrix visualization - Peers management with discovery and manual add - Services view showing local and shared services - Mesh network configuration (DNS, WireGuard, HAProxy) - Settings for P2P and registry configuration - Add Services Registry view to luci-app-secubox - Add listProfiles/applyProfile to secubox-admin API - Fix P2P ACL permissions - Remove old hub.js from luci-app-secubox (moved to dedicated package) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
67 lines
1.5 KiB
JSON
67 lines
1.5 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"
|
|
],
|
|
"uci": [ "get", "state", "configs" ],
|
|
"file": [ "read", "stat", "exec" ]
|
|
},
|
|
"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": [ "set", "add", "delete", "rename", "order", "commit", "apply", "confirm", "rollback" ],
|
|
"file": [ "exec" ]
|
|
},
|
|
"uci": [ "crowdsec", "crowdsec-dashboard" ]
|
|
}
|
|
}
|
|
}
|