AddThisFeature

Audit Log

Know who did what, and when.

moderate Admin & Operations

What it adds

An append-only record of security- and data-sensitive actions.

What your agent is told to do

4
  1. 1

    Log the actions that matter: sign-ins, permission changes, deletions, exports, billing changes, admin actions.

  2. 2

    Capture actor, action, target, timestamp, and IP.

  3. 3

    Make it append-only. An audit log that can be edited is not an audit log.

  4. 4

    Give admins a way to search and filter it.

Edge cases it handles

5
  • Never log passwords, tokens, or full payment details — the audit log becomes a breach target.
  • Logging must not break the action it's recording; a failed log write shouldn't roll back a user's work.
  • The log will grow fast — plan retention and archival from day one.
  • A deleted user must remain attributable in the log.
  • Impersonated actions must record both the admin and the user.

Definition of done

8
  • All security- and data-sensitive actions are logged.
  • Entries capture actor, action, target, time, and IP.
  • The log is append-only.
  • No secrets are ever written to it.
  • Retention and archival are defined.
  • Admins can search and filter it.
  • The feature matches the existing design system.
  • No existing functionality is broken.

Related features

How it works

  1. 1

    Copy the link

    Grab the Markdown instruction URL for this feature.

  2. 2

    Give it to your AI

    Paste it into Claude Code, Cursor, v0, Lovable — whatever you build with.

  3. 3

    It inspects, then implements

    Your agent reads your existing app first, then adds the feature to fit it.

Works with your stack

These instructions are written to adapt. They tell the agent to detect your framework, match your existing design system, and reuse what you already have — rather than assuming a particular stack.

Need it tighter than that? Customize the feature and tell it exactly what you're running.