secubox-openwrt/package/secubox/luci-app-client-guardian/root/usr/share/luci/menu.d/luci-app-client-guardian.json
CyberMind-FR 0564de0811 feat: Remove captive portal and add auto-zoning to Client Guardian (v0.6.0-r24)
Major enhancements to Client Guardian:

**Removed Captive Portal:**
- Deleted portal.js and captive.js views
- Removed portal configuration from UCI
- Removed portal RPC methods (get_portal, update_portal, list_sessions, authorize_client, deauthorize_client)
- Cleaned menu and ACL definitions
- Updated default policy from 'captive' to 'quarantine'

**Added Auto-Zoning System:**
- Implemented get_vendor_from_mac() for OUI lookups
- Added apply_auto_zoning() with rule-based zone assignment
- Support for vendor, hostname pattern, and MAC prefix matching
- 8 pre-configured auto-zoning rules (IoT devices, mobile, guests)
- Auto-parking zone for unmatched clients
- GridSection UI for managing auto-zoning rules

**Threat Intelligence Integration:**
- Added threat_policy UCI section
- Auto-ban/quarantine based on threat score thresholds
- Threat indicators on client displays
- Integration with Security Threats Dashboard

**Dashboard Improvements:**
- Fixed boolean conversion (UCI "true"/"false" to JSON 0/1)
- Fixed RPC expect parameter issues causing empty arrays
- Added real-time polling with configurable intervals
- Removed all window.location.reload() calls
- Smooth DOM updates without page flickers

**Settings Enhancements:**
- Added reactiveness section (auto-refresh toggle, interval)
- Added threat intelligence settings
- Removed captive portal settings section
- Updated policy descriptions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-08 08:44:39 +01:00

100 lines
2.0 KiB
JSON

{
"admin/secubox/security/client-guardian": {
"title": "Client Guardian",
"order": 30,
"action": {
"type": "firstchild"
},
"depends": {
"acl": ["luci-app-client-guardian"]
}
},
"admin/secubox/security/client-guardian/overview": {
"title": "Overview",
"order": 10,
"action": {
"type": "view",
"path": "client-guardian/overview"
}
},
"admin/secubox/security/client-guardian/wizard": {
"title": "Setup Wizard",
"order": 15,
"action": {
"type": "view",
"path": "client-guardian/wizard"
}
},
"admin/secubox/security/client-guardian/clients": {
"title": "Clients",
"order": 20,
"action": {
"type": "view",
"path": "client-guardian/clients"
}
},
"admin/secubox/security/client-guardian/zones": {
"title": "Network Zones",
"order": 25,
"action": {
"type": "view",
"path": "client-guardian/zones"
}
},
"admin/secubox/security/client-guardian/captive": {
"title": "Captive Portal",
"order": 30,
"action": {
"type": "view",
"path": "client-guardian/captive"
}
},
"admin/secubox/security/client-guardian/portal": {
"title": "Portal Config",
"order": 35,
"action": {
"type": "view",
"path": "client-guardian/portal"
}
},
"admin/secubox/security/client-guardian/logs": {
"title": "Event Logs",
"order": 40,
"action": {
"type": "view",
"path": "client-guardian/logs"
}
},
"admin/secubox/security/client-guardian/alerts": {
"title": "Alerts & Notifications",
"order": 50,
"action": {
"type": "view",
"path": "client-guardian/alerts"
}
},
"admin/secubox/security/client-guardian/parental": {
"title": "Parental Controls",
"order": 60,
"action": {
"type": "view",
"path": "client-guardian/parental"
}
},
"admin/secubox/security/client-guardian/settings": {
"title": "Settings",
"order": 90,
"action": {
"type": "view",
"path": "client-guardian/settings"
}
},
"admin/secubox/security/client-guardian/debug": {
"title": "Debug Console",
"order": 95,
"action": {
"type": "view",
"path": "client-guardian/debug"
}
}
}