Convert 90+ LuCI view files from legacy cbi-button-* classes to KissTheme kiss-btn-* classes for consistent dark theme styling. Pattern conversions applied: - cbi-button-positive → kiss-btn-green - cbi-button-negative/remove → kiss-btn-red - cbi-button-apply → kiss-btn-cyan - cbi-button-action → kiss-btn-blue - cbi-button (plain) → kiss-btn Also replaced hardcoded colors (#080, #c00, #888, etc.) with CSS variables (--kiss-green, --kiss-red, --kiss-muted, etc.) for proper dark theme compatibility. Apps updated include: ai-gateway, auth-guardian, bandwidth-manager, cloner, config-advisor, crowdsec-dashboard, dns-provider, exposure, glances, haproxy, hexojs, iot-guard, jellyfin, ksm-manager, mac-guardian, magicmirror2, master-link, meshname-dns, metablogizer, metabolizer, mqtt-bridge, netdata-dashboard, picobrew, routes-status, secubox-admin, secubox-mirror, secubox-p2p, secubox-security-threats, service-registry, simplex, streamlit, system-hub, tor-shield, traffic-shaper, vhost-manager, vortex-dns, vortex-firewall, webradio, wireguard-dashboard, zigbee2mqtt, zkp, and more. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| htdocs/luci-static/resources/view/iot-guard | ||
| root | ||
| Makefile | ||
| README.md | ||
LuCI IoT Guard
LuCI dashboard for IoT Guard device isolation and security monitoring.
Features
- Overview Dashboard - Security score, device counts, risk distribution
- Device List - Filterable table with device details
- Device Actions - Isolate, trust, or block devices
- Cloud Mapping - View cloud services each device contacts
- Anomaly Alerts - Real-time anomaly notifications
- Policy Management - Vendor classification rules
- Settings - Configure auto-isolation, thresholds, zones
Installation
opkg install luci-app-iot-guard
Requires secubox-iot-guard backend package.
Menu Location
SecuBox > Services > IoT Guard
Screens
Overview (/iot-guard/overview)
Dashboard with:
- Device count, isolated, blocked, high-risk stats
- Security score (0-100%)
- Device grid grouped by risk level
- Recent anomaly events
Devices (/iot-guard/devices)
Device management table:
- MAC, IP, hostname, vendor, class, risk, score, zone, status
- Click to view device detail modal with cloud deps and anomalies
- Quick actions: Isolate, Trust, Block
Policies (/iot-guard/policies)
Vendor classification rules:
- View/add/delete vendor rules
- Configure OUI prefix, pattern, class, risk level
- Device class reference table
Settings (/iot-guard/settings)
Configuration options:
- Enable/disable service
- Scan interval
- Auto-isolation threshold
- Anomaly detection sensitivity
- Zone policy (block LAN, allow internet, bandwidth limit)
- Allowlist/blocklist management
RPCD Methods
| Method | Description |
|---|---|
status |
Dashboard stats |
get_devices |
List devices (optional filter) |
get_device |
Device detail with cloud map |
get_anomalies |
Recent anomaly events |
get_vendor_rules |
List classification rules |
get_cloud_map |
Device cloud dependencies |
scan |
Trigger network scan |
isolate_device |
Move device to IoT zone |
trust_device |
Add to allowlist |
block_device |
Block device |
add_vendor_rule |
Add classification rule |
delete_vendor_rule |
Delete classification rule |
Public Access
The overview and device list are available publicly via the unauthenticated ACL group.
Dependencies
- secubox-iot-guard
- luci-base
License
GPL-3.0