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
CallerId
Who did it: client id or subject from the token, bus:<publisher>, or system:<job>.
public string? CallerId { get; init; }
Property Value
CorrelationId
Request trace id, to join with logs.
public string? CorrelationId { get; init; }
Property Value
Details
Short free-text detail (a void reason, the new mapping), never customer or vendor data.
public string? Details { get; init; }
Property Value
EntityId
Entity it applies to, if any.
public string? EntityId { get; init; }
Property Value
Id
Row id (UUID v7, time-ordered).
public Guid Id { get; init; }
Property Value
OccurredAt
When it happened (business clock).
public DateTimeOffset OccurredAt { get; init; }
Property Value
SubjectId
The id of the thing acted on (document, mapping, issue, request, entity).
public string SubjectId { get; init; }