secubox-openwrt/package/secubox/secubox-app-webapp/files/usr/share/rpcd/acl.d/secubox-dashboard.json
CyberMind-FR 3908080a03 feat(secubox-app-webapp): Add SecuBox Dashboard web application
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>
2026-01-21 10:28:09 +01:00

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"]
}
}
}
}