You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(scans): show hostname/IP on scan detail header, not a raw UUID (#613)
The Scan detail page Host field rendered scan.host_id.slice(0,8) — a
truncated UUID that's not human-friendly.
Backend (api-scans v1.1.0 C-07/AC-08): GET /scans/{id} now resolves the
host's hostname + ip_address from the hosts table onto ScanSummary (via
host(ip_address) for clean inet->text, COALESCE for NULLs). The list
endpoint omits them (the caller already has host context).
Frontend (frontend-scan-detail v1.1.0 C-08/AC-08): the Host field renders
scan.hostname || scan.ip_address || scan.host_id.slice(0,8) — hostname
first, IP fallback, short UUID only as a last resort — still linking to
/hosts/$hostId.
Verified live: the field now shows 'owas-tst01' instead of '019eccd8'.
0 commit comments