Table of Contents

Interface IAuditContext

Namespace
Excalibur.A3.Audit.Events
Assembly
Excalibur.A3.dll

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

string

The client address, or null if not available.

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

string

The login identifier, or null if not available.

TenantId

Gets the tenant identifier associated with the activity.

string? TenantId { get; init; }

Property Value

string

The tenant identifier, or null if not in a multi-tenant context.

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.