Watch
1
0
Fork
You've already forked RedFlag
0
RedFlag/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Fimeg 9be8aba073 fix: dashboard populates Updates-by-Type and gives honest severity bars
The stats handler initialized updates_by_type but never filled it, so the
"Updates by Type" card always rendered empty (Codeberg #10). Add
UpdateQueries.GetUpdatesByType (grouped by package_type, non-terminal scope)
and wire it into GetDashboardStats.

Severity bars were sized against total_updates (all statuses) while the
severity counts are scoped to non-terminal rows — a scope mismatch. Bars now
size against the sum of the scoped severity values, so they form a true
breakdown that always sums to 100% and never overflows.

Also closed the silent error-swallows in GetDashboardStats: each sub-count
failure is now logged [ERROR] [server] [stats] instead of vanishing.
2026-06-13 08:23:20 -04:00
..
cmd/server web: server status awareness — version header, disconnect overlay, update banner 2026-06-12 13:41:11 -04:00
internal fix: dashboard populates Updates-by-Type and gives honest severity bars 2026-06-13 08:23:20 -04:00
.env.example refactor: rename aggregator-agent to agent for public release 2026-05-21 13:19:18 -04:00
docker-entrypoint.sh refactor: rename aggregator-agent to agent for public release 2026-05-21 13:19:18 -04:00
Dockerfile fix: desktop build uses Node 20 stage; tray installs + autostarts by default 2026-06-10 09:45:24 -04:00
go.mod feat: Wazuh queue-socket event emitter (INTEG-001) 2026-06-11 02:01:43 -04:00
go.sum swap uuid lib, windows installer pass, README/RAF copy 2026-06-03 15:39:49 -04:00