Table of Contents

Class AuditEntryEntity

Namespace
Tharga.Team.Service.Audit
Assembly
Tharga.Team.Service.dll

MongoDB entity for audit log entries.

public record AuditEntryEntity : EntityBase, ISupportInitialize, IEquatable<PersistableEntityBase>, IEntity<ObjectId>, IEquatable<EntityBase<ObjectId>>, IEquatable<EntityBase>, IEquatable<AuditEntryEntity>
Inheritance
PersistableEntityBase
EntityBase<ObjectId>
EntityBase
AuditEntryEntity
Implements
IEquatable<PersistableEntityBase>
IEntity<ObjectId>
IEquatable<EntityBase<ObjectId>>
IEquatable<EntityBase>
Inherited Members
EntityBase.ToString()
EntityBase.GetHashCode()
EntityBase.Equals(EntityBase<ObjectId>)
EntityBase.Equals(EntityBase)
EntityBase.<Clone>$()
EntityBase.EqualityContract
EntityBase<ObjectId>.Equals(PersistableEntityBase)
EntityBase<ObjectId>.Id
PersistableEntityBase.NeedsCleaning()
PersistableEntityBase.BeginInit()
PersistableEntityBase.EndInit()
PersistableEntityBase.CatchAll

Properties

AccessLevel

public string AccessLevel { get; init; }

Property Value

string

Action

public string Action { get; init; }

Property Value

string

CallerIdentity

public string CallerIdentity { get; init; }

Property Value

string

CallerKeyId

[BsonIgnoreIfNull]
public string CallerKeyId { get; init; }

Property Value

string

CallerSource

[BsonRepresentation(BsonType.String)]
public AuditCallerSource CallerSource { get; init; }

Property Value

AuditCallerSource

CallerType

[BsonRepresentation(BsonType.String)]
public AuditCallerType CallerType { get; init; }

Property Value

AuditCallerType

CallerUserIdentity

public string CallerUserIdentity { get; init; }

Property Value

string

CorrelationId

public Guid CorrelationId { get; init; }

Property Value

Guid

DurationMs

public long DurationMs { get; init; }

Property Value

long

ErrorMessage

[BsonIgnoreIfNull]
public string ErrorMessage { get; init; }

Property Value

string

EventType

[BsonRepresentation(BsonType.String)]
public AuditEventType EventType { get; init; }

Property Value

AuditEventType

Feature

public string Feature { get; init; }

Property Value

string

Metadata

[BsonIgnoreIfNull]
public Dictionary<string, string> Metadata { get; init; }

Property Value

Dictionary<string, string>

MethodName

public string MethodName { get; init; }

Property Value

string

ScopeChecked

[BsonIgnoreIfNull]
public string ScopeChecked { get; init; }

Property Value

string

ScopeResult

[BsonRepresentation(BsonType.String)]
public AuditScopeResult ScopeResult { get; init; }

Property Value

AuditScopeResult

Success

public bool Success { get; init; }

Property Value

bool

TeamKey

public string TeamKey { get; init; }

Property Value

string

Timestamp

public required DateTime Timestamp { get; init; }

Property Value

DateTime