From efcfbd9edf357c6e1dcaeb675149cc8caee0ea24 Mon Sep 17 00:00:00 2001 From: CyberMind Date: Thu, 21 May 2026 11:00:15 +0200 Subject: [PATCH] =?UTF-8?q?feat(secubox-threats):=20v1.1.0=20=E2=80=94=20c?= =?UTF-8?q?entralised=20threats=20dashboard=20(closes=20#312)=20(#313)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Operator request: 'travailler une vraie interface avec tous les metrics centralises dedies sur https://admin.gk2.secubox.in/threats/'. Rebuilt www/threats/index.html on the canonical SecuBox scaffold: * body display:flex, sidebar 220px fixed, .main padding-top 48px * WALL palette (Charte SecuBox §Six Module Color System, #9A6010) * Five-stat strip: threat level, active threats, alerts 24h, IOCs tracked, open incidents. * 2-col row: 24h hourly alert timeline (histogram) + risk score breakdown. * 3-col row x2: recent alerts, top IOCs, open incidents, alert sources, threat feeds, recent reports — every endpoint exposed by api/main.py is wired up. * Auto-refresh every 30s on the volatile panels. Co-authored-by: CyberMind-FR --- packages/secubox-threats/debian/changelog | 15 + .../secubox-threats/www/threats/index.html | 987 +++++------------- 2 files changed, 291 insertions(+), 711 deletions(-) diff --git a/packages/secubox-threats/debian/changelog b/packages/secubox-threats/debian/changelog index 411e032d..1b818a1a 100644 --- a/packages/secubox-threats/debian/changelog +++ b/packages/secubox-threats/debian/changelog @@ -1,3 +1,18 @@ +secubox-threats (1.1.0-1~bookworm1) bookworm; urgency=medium + + * www/threats/index.html: rebuild as the canonical centralised threats + dashboard (#312). Single page surfacing every relevant + /api/v1/threats/* endpoint: status (threat level pill), timeline + (24h hourly bucket histogram), scores (overall + breakdown), + recent alerts, top IOCs, open incidents, alert sources, feeds, + reports. Five-stat strip across the top, three-card rows below. + Canonical SecuBox scaffold (body display:flex, sidebar 220px fixed, + .main reserving 48px for the global-menu-bar). Charter WALL palette + (#9A6010 yellow/amber). Auto-refresh every 30s on the volatile + panels (status, timeline, alerts). + + -- Gerald Kerma Thu, 21 May 2026 13:00:00 +0000 + secubox-threats (1.0.0-1~bookworm1) bookworm; urgency=medium * Initial release diff --git a/packages/secubox-threats/www/threats/index.html b/packages/secubox-threats/www/threats/index.html index 6e288d96..7f2a92aa 100644 --- a/packages/secubox-threats/www/threats/index.html +++ b/packages/secubox-threats/www/threats/index.html @@ -1,755 +1,320 @@ - - - SecuBox - Unified Threats Dashboard - - - + @media (max-width: 1100px) { .stats { grid-template-columns: repeat(2, 1fr); } .row, .row.three { grid-template-columns: 1fr; } } + @media (max-width: 900px) { .main { margin-left: 0; padding-top: calc(var(--gmb-h) + 1rem); } } + - - - + -
-
-

Unified Threats Dashboard

-
- - -
-
+ - -
-
- - - - -
--
-
-
-

Risk Assessment

- Loading... -
- Threats: - - Alerts: - - Incidents: - -
-
-
- - -
-
-
Active Threats
-
-
Critical
-
-
Unack Alerts
-
-
IOCs
-
-
Open Incidents
-
- - -
- - - - - - - -
- - -
-
-
-

Threat Timeline (24h)

-
-
-
-

Recent Alerts 0

-
-
-
-
- - -
-
-

Active Threats

-
- - -
- - - -
IDNameSeverityCategorySourceStatusCreatedActions
-
-
- - -
-
-

Aggregated Alerts

-
- - - -
- - - -
TimeSourceSeverityMessageValueAck
-
-
- - -
-
-

Indicators of Compromise

- - - - -
ValueTypeThreat TypeConfidenceSourceAddedActions
-
-
- - -
-
-

Threat Intelligence Feeds

- - - -
NameURLTypeIOCsLast RefreshStatusActions
-
-
- - -
-
-

Security Incidents

-
- -
- - - -
IDTitleSeverityStatusAssigneeCreatedActions
-
-
- - -
-
-

Generated Reports

-
- - - -
- - - -
IDTypePeriodGeneratedSummaryActions
-
-
-
- - -