Skip to content

Audit log

Verin’s audit log is the append-only record of significant regulated actions taken in the system. It’s the artifact you’d export for an inspection, the system of record for “who did what, when, to which document”.

Each entry captures:

  • Actor — the user identity (and tenant)
  • Action — what happened (upload, approval, signature, export, etc.)
  • Target — which record was affected (document ID, extraction ID, report ID, signature ID, etc.)
  • Timestamp — server-side, UTC
  • Context — request-scoped metadata (IP address, user agent if available, originating tenant)

The log normally captures references rather than full documents. Re-extraction may archive a verified legacy signed extraction payload in the immutable supersession event when the signature predates snapshot storage. Reconstructing the state at a point in time involves the log + the underlying record (which is preserved separately and, where appropriate, version-controlled).

Coverage focuses on regulated decisions rather than activity-feed completeness. Currently recorded:

  • Document uploads (and document-management operations like delete, re-classify)
  • Authentication and session events (sign-in, sign-out, signing-password set)
  • Chat / Verin queries
  • Platform admin actions (tenant management, cross-tenant operations)

In v1.11, the audit log also records successful extraction approvals in the same transaction as the record and signature, failed signing attempts, signature supersession on re-extraction, and audit-trail exports (actor, format, date range and count). Export events appear in subsequent queries, rather than in the export that caused them.

Edits to records, search queries (separately from chat), and model invocations remain outside this coverage. Deployed qualification evidence remains pending.

The PostgreSQL audit log table has database-level immutability triggers (audit_log_no_update and audit_log_no_delete) that reject any UPDATE or DELETE on a log row. New entries can be inserted; existing entries cannot be modified or deleted, even by system admins.

This supports the “audit trail must be protected from modification” expectation in 21 CFR Part 11 §11.10(e), EU Annex 11 §9, and ISO 13485’s documented-information requirements. The implementation is defensible at audit time because the database physically prevents alteration.

Beyond prevention, every audit row is stamped at insert with a SHA-256 integrity_hash covering its id, timestamp, tenant, actor, action, details, IP address, user agent, and build version. Because the hash is computed over the row’s content, any later edit to a row no longer matches its stored hash — so tampering is not only blocked but independently detectable on verification. This makes the trail tamper-evident, not only tamper-resistant.

Verin’s posture is to retain audit log entries for the longest applicable regulatory requirement (commonly 7 years for medical-product recordkeeping). At the application level the log table is append-only and entries are never deleted in normal operation. Automated retention enforcement and archival-to-cold-storage are tracked as planned enhancements; until those land, retention is operational rather than database-enforced — i.e. the rows stay because nothing deletes them, not because a scheduled job is enforcing a policy. The Trust Center will publish the operational evidence as the controls mature.

Audit log exports are available in two formats:

  • Human-readable PDF — for inspections and audits, with cover sheet, tenant ID, date range, and record count
  • Structured CSV — for evidence archives or piping into your eGRC system

JSON audit-log export remains on the roadmap. Exports are synchronous and record an audit event before the response is returned.

  • A debug log. Operational telemetry (request latency, error rates, model timings) lives elsewhere.
  • A communications log. Email delivery, in-app notifications, and integration webhooks are recorded separately.
  • A complete reproduction of state. The log references; reconstructing requires the references plus the underlying records.