feat(audit): make device names clickable in audit log

Add device_id to the audit log API response and frontend type, then
use DeviceLink to make device hostnames navigable in AuditLogTable.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jason Staack
2026-03-18 11:16:21 -05:00
parent 33be7a9522
commit 6713a8cf5b
3 changed files with 14 additions and 3 deletions

View File

@@ -835,6 +835,7 @@ export interface AuditLogEntry {
action: string
resource_type: string | null
resource_id: string | null
device_id: string | null
device_name: string | null
details: Record<string, unknown>
ip_address: string | null