Compare commits

...
Author SHA1 Message Date
gandalf 0c126ba6a4 feat(security-posture): add Security Posture to Hub sidebar (ref #615)
The sidebar is data-driven from /api/v1/hub/public/menu, which aggregates
/usr/share/secubox/menu.d/*.json. secubox-security-posture shipped no menu.d
entry, so it never appeared in the nav despite being wired into the monitoring
page content.

- Add menu.d/security-posture.json (category wall, icon level dial, /security-posture/)
- Rename www/dashboard.html -> www/index.html so nginx serves /security-posture/
- Install menu.d into /usr/share/secubox/menu.d in debian/rules
- Bump changelog 1.0.0-1 -> 1.0.1-1
2026-06-16 13:49:11 +02:00
4 changed files with 21 additions and 0 deletions
@@ -1,3 +1,11 @@
secubox-security-posture (1.0.1-1) unstable; urgency=medium
* Add Hub sidebar menu entry (menu.d/security-posture.json, category wall)
* Serve dashboard at /security-posture/ (rename dashboard.html -> index.html)
* Install menu.d into /usr/share/secubox/menu.d in debian/rules
-- Gerald Kerma <devel@cybermind.fr> Mon, 16 Jun 2026 15:00:00 +0200
secubox-security-posture (1.0.0-1) unstable; urgency=medium
* Initial release of SecuBox Security Posture module
@@ -21,3 +21,7 @@ override_dh_auto_install:
# Install www assets
install -d debian/secubox-security-posture/usr/share/secubox/www/security-posture
cp -r www/* debian/secubox-security-posture/usr/share/secubox/www/security-posture/ 2>/dev/null || true
# Install sidebar menu entry
install -d debian/secubox-security-posture/usr/share/secubox/menu.d
[ -d menu.d ] && cp -r menu.d/. debian/secubox-security-posture/usr/share/secubox/menu.d/ || true
@@ -0,0 +1,9 @@
{
"id": "security-posture",
"name": "Security Posture",
"category": "wall",
"icon": "🎚️",
"path": "/security-posture/",
"order": 115,
"description": "DEFCON level, CSPN/TPN compliance and performance posture"
}