Skip to content
agent-cms

Components / cms-audit

Audit log

Who did what through which channel, filtered by action, who and result.

With the shadcn CLI

npx shadcn add https://agent-cms-docs.vercel.app/r/cms-audit.json

With the agent-cms CLI

npx @mainsoft/agent-cms add cms-audit
Live demo
Runs on a demo database that resets every 30 minutes.

Audit log

TimeWhoActionTargetResultVia
Loading…

Usage#

tsx
<CmsAudit />

Needs an admin. Filter by action, by who (people, keys, the system) and by result.

Install#

npx @mainsoft/agent-cms add cms-audit

It also needs CmsProvider from cms-lib around your admin:

tsx
<CmsProvider baseUrl="/api/cms">{children}</CmsProvider>