Single-page dashboard for SecuBox/OpenWrt with: - Native OpenWrt authentication via rpcd/ubus - Real-time system monitoring (CPU, RAM, Disk, Network) - CrowdSec security integration - Service management - Network interface control Access via: http://<router-ip>/secubox-dashboard/ Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
36 lines
1.2 KiB
JSON
36 lines
1.2 KiB
JSON
{
|
|
"secubox-dashboard": {
|
|
"description": "SecuBox Dashboard full access",
|
|
"read": {
|
|
"ubus": {
|
|
"session": ["access", "get", "list"],
|
|
"system": ["board", "info"],
|
|
"network": ["get_proto_handlers"],
|
|
"network.interface": ["dump", "status"],
|
|
"network.device": ["status"],
|
|
"network.wireless": ["status"],
|
|
"service": ["list"],
|
|
"file": ["list", "read", "stat", "exec"],
|
|
"luci": ["getLocaltime", "getTimezones", "getInitList", "getRealtimeStats"],
|
|
"luci-rpc": ["getBoardJSON", "getNetworkDevices", "getDHCPLeases"]
|
|
},
|
|
"file": {
|
|
"/etc/crowdsec/*": ["read"],
|
|
"/var/log/*": ["read"],
|
|
"/tmp/*": ["read"]
|
|
}
|
|
},
|
|
"write": {
|
|
"ubus": {
|
|
"file": ["exec"],
|
|
"service": ["signal", "delete"],
|
|
"system": ["reboot"],
|
|
"network.interface": ["up", "down", "renew"]
|
|
},
|
|
"file": {
|
|
"/tmp/*": ["write"]
|
|
}
|
|
}
|
|
}
|
|
}
|