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
+2 -12
View File
@@ -179,19 +179,9 @@ def get_event(
)
if event is None:
raise HTTPException(status_code=404, detail="Event not found")
base = event_to_summary(event)
return EventDetail(
id=event.id,
event_id=event.event_id,
host_id=event.host_id,
hostname=event.host.hostname,
display_name=event.host.display_name,
occurred_at=event.occurred_at,
received_at=event.received_at,
category=event.category,
type=event.type,
severity=event.severity,
title=event.title,
summary=event.summary,
**base.model_dump(),
details=event.details,
raw=event.raw,
dedup_key=event.dedup_key,