Class AdminAuditEvent
Snapshot of a single audited admin operation.
Produced by and dispatched to .
All fields are immutable post-construction.
public sealed class AdminAuditEvent
Inheritance
Properties
Action
Logical action name (e.g. RestartContext, RevokeKey).
public required string Action { get; init; }
ActorApiKeyId
API key identifier used for the request, if available.
public string? ActorApiKeyId { get; init; }
ActorPrincipalName
Resolved actor (principal) name from the API key, if available.
public string? ActorPrincipalName { get; init; }
ControllerType
Controller type that owns the action.
public required string ControllerType { get; init; }
ExceptionMessage
Exception message, if the action threw.
public string? ExceptionMessage { get; init; }
Payload
Sanitized JSON payload of the action arguments (sensitive fields redacted).
public string? Payload { get; init; }
TargetResource
Identifier of the target resource (resolved from TargetParam), if any.
public string? TargetResource { get; init; }
Timestamp
UTC timestamp at which the action completed.
public required DateTimeOffset Timestamp { get; init; }