Interface IAuditContext
Represents the contextual portion of an audited activity, capturing where and when the action occurred.
public interface IAuditContext
Properties
ClientAddress
Gets the client address (e.g., IP address) associated with the activity.
string? ClientAddress { get; init; }
Property Value
CorrelationId
Gets the correlation ID used to trace the activity across distributed systems or services.
Guid CorrelationId { get; init; }
Property Value
- Guid
The correlation ID used to trace the activity across distributed systems or services.
Login
Gets the login identifier (e.g., email) of the user performing the activity.
string? Login { get; init; }
Property Value
TenantId
Gets the tenant identifier associated with the activity.
string? TenantId { get; init; }
Property Value
Timestamp
Gets or sets the timestamp indicating when the activity occurred.
DateTimeOffset Timestamp { get; set; }
Property Value
- DateTimeOffset
The timestamp indicating when the activity occurred.