Skip to main content

Audit And Soft Delete

Audit metadata and soft deletes help xTrakt preserve accountability while avoiding accidental data exposure through normal reads.

Audit Fields

DomainEntityInterceptor populates:

  • TenantId
  • CreatedBy
  • ChangedBy
  • CreatedWhen
  • ChangedWhen

Soft Deletes

  • Soft deletes use IsDeleted and DeletedWhen.
  • List and get queries must filter !x.IsDeleted.
  • Restore or purge behavior should be explicitly designed for each product area.

Operational Notes

Audit records are only useful when users use named accounts and integrations use identifiable credentials.