feat: add actor user column to events and dashboard tables

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
PTah
2026-06-10 10:11:04 +10:00
parent f9d56621f6
commit 77e167b6e3
8 changed files with 128 additions and 12 deletions
+1
View File
@@ -168,6 +168,7 @@ export interface EventSummary {
severity: string;
title: string;
summary: string;
actor_user?: string | null;
}
export interface EventListResponse {
+4
View File
@@ -236,6 +236,8 @@
<th>Имя сервера</th>
<th>Пользователь</th>
<th>Версия агента</th>
<th>Severity</th>
@@ -270,6 +272,8 @@
<td>{{ formatServerName(e.display_name) }}</td>
<td>{{ e.actor_user || "—" }}</td>
<td>{{ e.product_version || "—" }}</td>
<td :class="'sev-' + e.severity">{{ e.severity }}</td>
+2
View File
@@ -33,6 +33,7 @@
<th>Время</th>
<th>Хост</th>
<th>Имя сервера</th>
<th>Пользователь</th>
<th>Версия агента</th>
<th>Severity</th>
<th>Type</th>
@@ -47,6 +48,7 @@
<td>{{ formatDt(e.occurred_at) }}</td>
<td>{{ e.hostname }}</td>
<td>{{ formatServerName(e.display_name) }}</td>
<td>{{ e.actor_user || "—" }}</td>
<td>{{ e.product_version || "—" }}</td>
<td :class="'sev-' + e.severity">{{ e.severity }}</td>
<td><code>{{ e.type }}</code></td>