2026 customs changesWhat it means

Audit Logs

What CargoLint records in your organization's audit log, who can read it, how to follow a person or a session, and how long entries are kept.

What gets logged

CargoLint keeps an audit log per organization. Each entry records who acted (a user, the organization’s API key, the Export Compliance Desk’s key, or the system), what they did, on which record, when (UTC), and from which IP address and browser. An entry made with a key has no user: its details name the key as actor (organization_api_key or export_compliance_desk, beside user for a person).

Sign-in and account

  • Sign-ins, with a password or with Google or Microsoft, and two-factor challenges, including failed ones and the use of a recovery code
  • Registration and email verification
  • Password changes and resets
  • Two-factor authentication turned on or off, and recovery codes regenerated
  • Profile changes
  • Consent granted or withdrawn, and personal data export requests
  • Account deletion

Team and organization

  • Invitations sent, resent, cancelled and accepted
  • Role changes, ownership transfers and member removals
  • Impersonation started and stopped
  • Organization name, settings, logo and email intake changes
  • API key generated or revoked
  • Webhooks created, updated, tested, deleted, and their secrets rotated
  • Billing: cards added or changed, and subscription changes

Documents and shipments

  • Uploads, generated and cloned documents, and documents created by hand
  • Reviews, approvals and skips, and every field correction with its value before and after
  • Downloads (single files and batch ZIPs), renames, label changes, reprocessing and deletions
  • Changes a person makes to a document’s status, kind, title, reference or shipment
  • Shipment reference changes and settling
  • Shipment facts declared or cleared, checklist row dispositions set or cleared, invoice line links confirmed or cleared, and the destination set or cleared
  • Partnership requests and responses, and shipments shared with a partner or no longer shared
  • Changes to saved parties and products

System events

  • Documents purged after a user deleted them, at the end of the retention period, or after the organization was closed
  • Encryption key and storage changes made when an organization is closed

Changes a person makes to records are logged with the fields that changed, before and after; changes CargoLint makes on its own, such as a status set by processing, are not. Secrets (webhook signing secrets, the API key, two-factor secrets) are never written to the log.

Webhook deliveries are not audit entries; each webhook has its own delivery history. See Webhooks API.

Viewing audit logs

Owners and Admins can read the log in Settings > Audit Log. Each entry shows:

  • The time
  • The person who acted, or the system (an entry made with a key shows as the system, with the key named in its details)
  • The action and the record it touched
  • The details, including the values before and after a change
  • The session it belongs to

Filter by date range, action and resource. Click a person to see everything they did, including while impersonating someone; click a session to replay it from start to finish, oldest first.

Through the API, GET /audit (an Owner or Admin user session) accepts action, userId, resourceType, startDate, endDate, sessionId and oldestFirst, and pages with page and pageSize (up to 100). GET /audit/actions lists the actions and resource types present in your log.

Impersonation

When an Owner or Admin views the app as a team member, the session is read-only: any change is refused. Every entry made during it is recorded under the team member with the impersonating person beside it, and the start and end of the impersonation are logged.

Sessions

Every sign-in starts a new session, and an impersonation is a session of its own. Entries carry the session id, so one person’s sign-in can be followed from start to finish.

Data retention

  • Audit entries are kept for up to ten years, then deleted.
  • When a user deletes their account, the IP addresses and browser details of their entries are erased; the entries themselves remain.

Integrity

There is no feature in CargoLint to edit or delete audit entries. Entries change only when a deleted account’s IP addresses and browser details are erased, and when entries reach the end of the retention period.