Skip to content

Class AuditHistoryExportRequest

Namespace: Cephalon.Abstractions.Audit
Assembly: Cephalon.Abstractions.dll

Describes a host-agnostic audit-history export request against the active audit-history exporter.

public sealed class AuditHistoryExportRequest

objectAuditHistoryExportRequest

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

AuditHistoryExportRequest(string?, string?, string?, string?, string?, string?, string?, AuditOutcome?, DateTimeOffset?, DateTimeOffset?, int)

Section titled “ AuditHistoryExportRequest(string?, string?, string?, string?, string?, string?, string?, AuditOutcome?, DateTimeOffset?, DateTimeOffset?, int)”

Creates a new audit-history export request.

public AuditHistoryExportRequest(string? category = null, string? action = null, string? subjectType = null, string? subjectId = null, string? actorId = null, string? tenantId = null, string? correlationId = null, AuditOutcome? outcome = null, DateTimeOffset? occurredFromUtc = null, DateTimeOffset? occurredToUtc = null, int maxEntries = 1000)

category string?

An optional logical audit category filter.

action string?

An optional logical action identifier filter.

subjectType string?

An optional logical subject-type filter.

subjectId string?

An optional stable subject identifier filter.

actorId string?

An optional stable actor identifier filter.

tenantId string?

An optional tenant identifier filter.

correlationId string?

An optional correlation identifier filter.

outcome AuditOutcome?

An optional audit-outcome filter.

occurredFromUtc DateTimeOffset?

An optional inclusive lower occurrence bound.

occurredToUtc DateTimeOffset?

An optional inclusive upper occurrence bound.

maxEntries int

The maximum number of exported entries.

Gets the default maximum number of audit-history entries exported when the caller does not supply one.

public const int DefaultMaxEntries = 1000

int

Gets the optional logical action identifier filter.

public string? Action { get; }

string?

Gets the optional stable actor identifier filter.

public string? ActorId { get; }

string?

Gets the optional logical audit category filter.

public string? Category { get; }

string?

Gets the optional correlation identifier filter.

public string? CorrelationId { get; }

string?

Gets the maximum number of entries to export.

public int MaxEntries { get; }

int

Gets the optional inclusive lower occurrence bound.

public DateTimeOffset? OccurredFromUtc { get; }

DateTimeOffset?

Gets the optional inclusive upper occurrence bound.

public DateTimeOffset? OccurredToUtc { get; }

DateTimeOffset?

Gets the optional audit-outcome filter.

public AuditOutcome? Outcome { get; }

AuditOutcome?

Gets the optional stable subject identifier filter.

public string? SubjectId { get; }

string?

Gets the optional logical subject-type filter.

public string? SubjectType { get; }

string?

Gets the optional tenant identifier filter.

public string? TenantId { get; }

string?