Skip to content

Audit Logs

MailShield maintains a comprehensive audit trail of all significant actions taken within your organization. This helps you track changes, investigate security incidents, and maintain compliance.

What's Tracked

Audit logs capture the following categories of actions:

Domain Operations

ActionDescription
domain.createA new domain was added to monitoring
domain.deleteA domain was removed from monitoring
domain.updateDomain settings were modified (e.g., usage type)
domain.verifyDomain ownership was verified

API Token Operations

ActionDescription
token.createA new API token was created
token.revokeAn API token was revoked
token.updateAPI token settings were modified (e.g., IP allowlist)

Team Member Operations

ActionDescription
member.inviteA team member was invited
member.role_changeA member's role was changed
member.removeA member was removed from the organization
invite.cancelA pending invitation was cancelled
invite.acceptAn invitation was accepted

Organization Operations

ActionDescription
organization.transfer_ownershipOrganization ownership was transferred
organization.update_nameOrganization name was changed

Subscription Operations

ActionDescription
subscription.checkoutA subscription checkout was initiated
subscription.plan_changeThe subscription plan was changed
subscription.cancelThe subscription was cancelled

Admin Operations

ActionDescription
admin.impersonate_startAn admin started impersonating a user
admin.impersonate_stopAn admin stopped impersonating a user

Audit Log Details

Each audit log entry contains:

  • Actor - Who performed the action (user, API token, or system)
  • Action - What action was performed
  • Resource - What was affected (domain, token, member, etc.)
  • Metadata - Additional details about the change (e.g., old and new values)
  • IP Address - The IP address of the request
  • User Agent - The browser or client used
  • Timestamp - When the action occurred

Actor Types

  • User - A logged-in team member
  • API Token - An action performed via the REST API
  • System - An automated system action (e.g., scheduled jobs)

Viewing Audit Logs

Navigate to Settings > Audit Logs to view your organization's audit trail. You can filter by:

  • Date range
  • Action type
  • Actor
  • Resource

Data Retention

Audit logs are retained for the lifetime of your organization. They are not automatically deleted when resources are removed, ensuring a complete historical record.

Security Features

Impersonation Tracking

When a MailShield admin impersonates a user for support purposes, audit logs record:

  • The admin who initiated the impersonation
  • All actions taken during the impersonation session
  • When the impersonation ended

This ensures full accountability even during support interactions.

Non-Blocking Design

Audit logging is designed to never interfere with your operations. If logging fails for any reason, the primary action still completes successfully.

Monitor and secure your email domains.