Audit log row
One event per row. Reads dense at scale; expands to reveal payload when needed. Used in the resource access ledger and the run inspector.
Included in the single kansho full pack. Components are not offered as separate installs.
Mixed timeline
Click any row with payload to expandFiltered view
A single agent's recent writes onlyIncluded components
This page is the canonical destination for these components. All ship in the single Kansho pack.
Audit log row
components/agent/audit-log-row.tsxComponent documentation
Audit log row
components/agent/audit-log-row.tsxPurpose
Displays one audit event with actor, target, outcome, time, and optional expandable details.
Appropriate use
Use in an audit timeline where operators need a compact event summary and selectively reveal evidence.
Example
components/agent/audit-log-row.tsx has a representative live example in the "Mixed timeline" section on /components/audit-log.
States
Event types are tool, read, write, delete, network, approval, auth, or run; outcomes are ok, blocked, or error; details can be closed or open.
API and props
AuditLogRow accepts timestamp, event, actor, target, optional agent, outcome, details, and className.
Dependencies
Direct imports are React, Lucide icons, Tag, Time, and cn.
Accessibility
The details trigger is a native button with aria-expanded and aria-controls; Time supplies machine-readable time for parseable values.
Limitations
It does not provide table semantics, filtering, persistence, or audit integrity; freeform timestamp strings are displayed as supplied.
Source
Source: components/agent/audit-log-row.tsx.
Full pack
components/agent/audit-log-row.tsx is documented at /components/audit-log and installs only through the single Kansho full pack; no individual component install is offered.