Skip to main content

Audit

Docyard’s audit system records every significant action as an immutable, append-only log entry. These logs cannot be edited or deleted — by anyone, including Docyard administrators.

What Gets Logged

Entity TypeActions Tracked
ArtifactUpload, retrieval, integrity check failure
RecipientCreate, update, delete, batch import
PolicyCreate, update, publish, rollback, version change
Recipient GroupCreate, update, membership changes, policy assignment
SecretGenerate, verify, rotate, revoke
DockDomain verification, KYC status change, branding update

Log Entry Structure

Each audit log entry contains:
FieldDescription
dockIdThe dock where the action occurred
entityTypeType of resource affected (e.g., recipient, policy)
entityIdID of the specific resource
actionWhat happened (create, update, delete)
actorWho performed the action (user email or system identifier)
changesBefore/after state for update operations
metadataAdditional context (e.g., batch ID, import source)
ipAddressSource IP of the request
userAgentClient user agent string
createdAtTimestamp of the event

Querying Logs

Audit logs support filtering by:
  • Dock — required for all queries
  • Entity type — filter to a specific resource type
  • Entity ID — get the full history of a single resource
  • Paginationlimit and offset for large result sets
Audit log retention varies by plan: 7 days (Starter), 90 days (Professional), custom (Enterprise). Logs beyond the retention window are archived but available on request.

Compliance Exports

For SOC 2 audits, regulatory filings, or internal reviews:
  1. Query logs with appropriate filters
  2. Export results as JSON
  3. Logs include cryptographic chain references for tamper detection