Table of Contents

Class AdminAuditEntry

Namespace
Integrations.Domain.Audit
Assembly
Integrations.Domain.dll

Append-only record of an action that changes money or configuration (commit, void, credit, entity and mapping changes, resolving a discrepancy, cancelling a certificate request): who did it, when, and to what. Written in the same transaction as the change, so a change is never recorded without its entry or the other way round.

public sealed class AdminAuditEntry
Inheritance
AdminAuditEntry
Inherited Members

Properties

Action

What was done, e.g. tax.void, entity.upsert.

public string Action { get; init; }

Property Value

string

CallerId

Who did it: client id or subject from the token, bus:<publisher>, or system:<job>.

public string? CallerId { get; init; }

Property Value

string

CorrelationId

Request trace id, to join with logs.

public string? CorrelationId { get; init; }

Property Value

string

Details

Short free-text detail (a void reason, the new mapping), never customer or vendor data.

public string? Details { get; init; }

Property Value

string

EntityId

Entity it applies to, if any.

public string? EntityId { get; init; }

Property Value

string

Id

Row id (UUID v7, time-ordered).

public Guid Id { get; init; }

Property Value

Guid

OccurredAt

When it happened (business clock).

public DateTimeOffset OccurredAt { get; init; }

Property Value

DateTimeOffset

SubjectId

The id of the thing acted on (document, mapping, issue, request, entity).

public string SubjectId { get; init; }

Property Value

string