Skip to content

Audit Log

The audit log answers the questions an auditor or a security team asks after the fact: who did it, when, what was changed, from where and whether it succeeded. It covers sign-ins, team and permission changes, security and integration settings, campaign management, exports and data deletion — whether the action came from the web app, the REST API or an AI client over MCP.

Only account administrators can open the audit log. Editors and members do not see it in the menu and are refused if they try the address, the API endpoint or the MCP tool directly.

Open Settings → Security → Audit log. The page lists the newest entries first:

Audit log with filters, the Export CSV and Export JSON buttons and the newest entries

ColumnWhat it shows
TimeWhen the action happened, in your time zone.
ActorWho did it: the user’s email as it was at that moment. Actions performed with an API token, by a PhishSpot platform administrator or by the system itself are labelled accordingly.
ActionWhat kind of operation it was, for example member.role_changed or campaign.started (see §35.3).
ResultSuccess or Failure. A failed sign-in is recorded as a failure.
ObjectWhat was affected: its type, public identifier and name.
IP addressThe address the request came from.
ChannelWhere the action came from: ui (web app), api (REST API), mcp (AI client) or system (automatic, for example a scheduled campaign starting).

Each entry also keeps the browser or client (user agent), a request identifier and a few details specific to the action, such as which setting changed or how many contacts an import added. Passwords, tokens and secrets are never written to the log.

If a PhishSpot platform administrator acts in your account while impersonating one of your users, the entry names both: the user and the administrator behind the session.

Use the filters above the table to narrow the list:

  • From / To — a date range.
  • Actor — an email address, or part of one.
  • Action group — one area, such as sign-ins, team, campaigns or exports.
  • Result — success or failure only.
  • Search — free text across action, actor and object.

Long lists are split into pages.

Export CSV and Export JSON download the list exactly as currently filtered, up to the 10,000 newest matching entries per file. Narrow the date range and export again if you need more. Every export of the audit log is itself recorded as data.exported, so the log also shows who took a copy.

GroupActionsRecorded when
Sign-inssession.login, session.login_failed, session.logoutSomeone signs in, fails to sign in, or signs out.
Teammember.invited, member.invitation_removed, member.added, member.role_changed, member.deactivated, member.reactivated, member.removedA person is invited, an invitation is withdrawn or used, someone joins, their role changes, their access is switched off or on, or they are removed from the account.
Securitysecurity.setting_changedA security setting changes, such as requiring two-factor authentication for everyone.
Accountaccount.updated, account.deletedAccount settings change (the entry lists which fields, not their values), or the account is deleted.
API tokensapi_token.created, api_token.revokedAn API token is created or revoked.
Integrationsintegration.configured, integration.disconnectedA directory integration, report forwarding, webhook endpoint or Outlook mailbox connection is set up, changed or removed.
Campaignscampaign.created, campaign.updated, campaign.scheduled, campaign.started, campaign.schedule_cancelled, campaign.paused, campaign.resumed, campaign.cancelled, campaign.completed, campaign.deletedA campaign is created or edited, or moves through its lifecycle.
Contactscontact.deleted, contacts.importedContacts are deleted or imported.
Exportsreport.exported, data.exportedA campaign report, a period report, a campaign results CSV or a training certificate is downloaded (report.exported), or the audit log itself is exported (data.exported).
Platform administrationadmin.impersonation_started, admin.impersonation_stoppedA PhishSpot platform administrator starts or stops acting as one of your users.
AI clientsmcp.tool_calledAn AI client calls a PhishSpot tool over MCP.

Entries about deleted contacts keep the contact’s public identifier but not their name or email, so erasing a person’s data does not leave a copy of it in the log.

Audit entries are write-once:

  • They cannot be edited or deleted — not in the web app, not through the API and not through MCP. The database itself refuses changes to stored entries.
  • Tampering is detectable. Each entry carries a fingerprint computed from its content and from the entry before it, so altering or removing an entry breaks the chain.
  • They are kept for at least 12 months. PhishSpot does not prune the audit log; entries stay available for as long as the account exists and are preserved even when other account data is deleted.

The same entries, with the same administrator-only access, are available outside the web app:

  • REST API — GET /api/v1/audit_events and GET /api/v1/audit_events/:id (read-only). Filter with filter[action], filter[action_group], filter[actor], filter[result], filter[created_after] and filter[created_before] (ISO 8601 timestamps); page with page[number] and page[size] (200 at most). Newest entries come first; sorting, sparse fieldsets and include are not available on this endpoint. See Chapter 27.
  • MCP — the read-only tool list_audit_events takes the same filters plus limit (100 by default, 1,000 at most). See Chapter 29.
  • SIEM — subscribe a webhook endpoint to the audit_event.created event type and PhishSpot sends each new entry to your collector as a signed delivery shortly after it is recorded. Only an account administrator can subscribe an endpoint to this event type, or change, enable, disable or delete an endpoint that is subscribed to it; other team members are refused, and they cannot open the deliveries of audit entries either. The feed is tied to the administrator who set it up: if that person stops being an active administrator of the account, deliveries stop until another administrator saves the endpoint again. See Chapter 26.