ข้ามไปยังเนื้อหา

Class AuditRecordRequest

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Audit.Services
Assembly: Cephalon.Audit.dll

Describes one audit request before Cephalon fills its default runtime context.

public sealed class AuditRecordRequest

objectAuditRecordRequest

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

AuditRecordRequest(string, string, string, string, string?, string?, DateTimeOffset?, AuditActor?, AuditOutcome, string?, string?, IReadOnlyList<AuditChange>?, IReadOnlyList<string>?, IReadOnlyDictionary<string, string>?)

Section titled “ AuditRecordRequest(string, string, string, string, string?, string?, DateTimeOffset?, AuditActor?, AuditOutcome, string?, string?, IReadOnlyList<AuditChange>?, IReadOnlyList<string>?, IReadOnlyDictionary<string, string>?)”

Creates a new audit-record request.

public AuditRecordRequest(string category, string action, string summary, string subjectType, string? subjectId = null, string? entryId = null, DateTimeOffset? occurredAtUtc = null, AuditActor? actor = null, AuditOutcome outcome = AuditOutcome.Unknown, string? tenantId = null, string? correlationId = null, IReadOnlyList<AuditChange>? changes = null, IReadOnlyList<string>? tags = null, IReadOnlyDictionary<string, string>? metadata = null)

category string

The logical audit category.

action string

The logical action identifier associated with the audit event.

summary string

The human-readable audit summary.

subjectType string

The logical subject type associated with the entry.

subjectId string?

The stable subject identifier associated with the entry when one is known.

entryId string?

The stable audit-entry identifier when the caller wants to supply one explicitly.

occurredAtUtc DateTimeOffset?

The occurrence time when the caller wants to supply it explicitly.

actor AuditActor?

The actor responsible for the audited operation when the caller wants to supply one explicitly.

outcome AuditOutcome

The outcome recorded for the audited operation.

tenantId string?

The tenant identifier associated with the audited operation.

correlationId string?

The correlation identifier associated with the audited operation.

changes IReadOnlyList<AuditChange>?

Optional field-level changes captured for the operation.

tags IReadOnlyList<string>?

Optional descriptive tags associated with the entry.

metadata IReadOnlyDictionary<string, string>?

Optional audit metadata.

Gets the logical action identifier associated with the audit event.

public string Action { get; }

string

Gets the actor responsible for the audited operation when one was supplied explicitly.

public AuditActor? Actor { get; }

AuditActor?

Gets the logical audit category.

public string Category { get; }

string

Gets the field-level changes captured for the operation.

public IReadOnlyList<AuditChange> Changes { get; }

IReadOnlyList<AuditChange>

Gets the correlation identifier associated with the audited operation.

public string? CorrelationId { get; }

string?

Gets the caller-supplied audit-entry identifier when one is known.

public string? EntryId { get; }

string?

Gets audit metadata associated with the entry.

public IReadOnlyDictionary<string, string> Metadata { get; }

IReadOnlyDictionary<string, string>

Gets the caller-supplied occurrence time when one is known.

public DateTimeOffset? OccurredAtUtc { get; }

DateTimeOffset?

Gets the outcome recorded for the audited operation.

public AuditOutcome Outcome { get; }

AuditOutcome

Gets the stable subject identifier associated with the entry when one is known.

public string? SubjectId { get; }

string?

Gets the logical subject type associated with the entry.

public string SubjectType { get; }

string

Gets the human-readable audit summary.

public string Summary { get; }

string

Gets descriptive tags associated with the entry.

public IReadOnlyList<string> Tags { get; }

IReadOnlyList<string>

Gets the tenant identifier associated with the audited operation.

public string? TenantId { get; }

string?