Compare commits

..

No commits in common. "4a8ee46c2d0c42c1b762aa71b166eb83d647a19c" and "da0c5008dfe5b1dfcefbf1e0b8f6735b06b45d14" have entirely different histories.

2 changed files with 2 additions and 10 deletions

View File

@ -1,11 +1,3 @@
secubox-threat-analyst (1.4.5-1~bookworm1) bookworm; urgency=medium
* ui: limit the Recent attacks table to 5 rows (#611), matching the Top-N
lists. Stats + leaderboards are unaffected (computed from the full alert
set before the table slice).
-- Gerald KERMA <devel@cybermind.fr> Tue, 16 Jun 2026 09:00:00 +0200
secubox-threat-analyst (1.4.4-1~bookworm1) bookworm; urgency=medium secubox-threat-analyst (1.4.4-1~bookworm1) bookworm; urgency=medium
* feat(ingest): populate the headline stats + Top-N leaderboards with real * feat(ingest): populate the headline stats + Top-N leaderboards with real

View File

@ -460,7 +460,7 @@
document.getElementById('s-countries').textContent = 0; document.getElementById('s-countries').textContent = 0;
return; return;
} }
const rows = alerts.slice(0, 5).map(a => { const rows = alerts.slice(0, 100).map(a => {
const m = flatMeta(a); const m = flatMeta(a);
return `<tr> return `<tr>
<td>${m.lastSeen ? esc(new Date(m.lastSeen).toLocaleString()) : '—'}</td> <td>${m.lastSeen ? esc(new Date(m.lastSeen).toLocaleString()) : '—'}</td>
@ -472,7 +472,7 @@
<td><span class="mono">${m.hitCount}</span></td> <td><span class="mono">${m.hitCount}</span></td>
</tr>`; </tr>`;
}).join(''); }).join('');
const extra = alerts.length > 5 ? `<div class="msg msg-empty">${alerts.length - 5} more not shown</div>` : ''; const extra = alerts.length > 100 ? `<div class="msg msg-empty">${alerts.length - 100} more not shown</div>` : '';
c.innerHTML = `<table> c.innerHTML = `<table>
<thead><tr> <thead><tr>
<th>Last seen</th><th>Sev</th><th>Source IP</th> <th>Last seen</th><th>Sev</th><th>Source IP</th>