---
title: AuditEntry
description: 'One change, as the log keeps it.'
updated_at: '2026-11-19T12:10:41+01:00'
created_at: '2026-11-19T06:37:33+01:00'
symbol:
  kind: interface
  name: AuditEntry
  signatures:
    - interface AuditEntry
  members:
    - name: actor
      kind: property
      signature: >-
        readonly actor: Pick<[[reference/api/auth/server/Account|Account]], "id"
        | "handle">
      description: >-
        Who made the change: the signed-in account, as `readAccount` answered it
        on the server.
    - name: action
      kind: property
      signature: 'readonly action: string'
      description: >-
        What they did, `<plugin id>:<thing>:<verb>`, such as `auth:grant:set` or
        `moderation:report:resolve`.
    - name: target
      kind: property
      signature: 'readonly target: string'
      description: >-
        What they did it to: an object string such as `page:notes/garden/roses`,
        a role, or an account's handle.
    - name: detail
      kind: property
      signature: 'readonly detail?: Readonly<Record<string, unknown>>'
      description: >-
        Anything else a reader of the log needs, such as the value a grant was
        set to. JSON.
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/auth/src/audit.ts#L10
---

# AuditEntry
