Skip to Content

AuditLogViewer

Filter, inspect, and paginate through caller-authorized CMS audit events.

AuditLogViewer presents audit events supplied by the host. The server must authorize audit reads and scope them to the current tenant before passing data to the component. It also accepts sanitized Media audit projections with upload, asset, or folder resources and failure results. Assign each event a stable ID and use an empty resourceId when the operation has not produced one. The Fullstack CMS client currently has no audit-query method; obtain these events from a separately authorized host source.

390 × 844

API

PropTypeRequiredDefault
eventsreadonly CmsAuditLogItem[]Yes—
loadingbooleanNofalse
errorReactNodeNo—
pageSizenumberNo10
classNamestringNo—
import { AuditLogViewer } from "@puzzle-ui/pieces";

<AuditLogViewer events={authorizedEvents} />;

Search, resource/result filters, and pagination apply only to the supplied events. The component does not expose event details beyond the displayed actor, action, resource, result, and timestamp.

The event list uses a semantic table with column headers and labeled filters. Denied operations remain visible and are distinguishable by text, not color alone.

API maturity

API maturity: Stable.