Table of Contents

Class AuditIntegrityViolationEventArgs

Namespace
Excalibur.Data.ElasticSearch.Security
Assembly
Excalibur.Data.ElasticSearch.dll

Event arguments for when audit log integrity violations are detected.

public sealed class AuditIntegrityViolationEventArgs : EventArgs
Inheritance
AuditIntegrityViolationEventArgs
Inherited Members

Remarks

Initializes a new instance of the AuditIntegrityViolationEventArgs class.

Constructors

AuditIntegrityViolationEventArgs(string, int, DateTimeOffset)

Event arguments for when audit log integrity violations are detected.

public AuditIntegrityViolationEventArgs(string violationType, int affectedRecords, DateTimeOffset detectedAt)

Parameters

violationType string

The type of integrity violation detected.

affectedRecords int

The number of audit records affected by the violation.

detectedAt DateTimeOffset

The timestamp when the violation was detected.

Remarks

Initializes a new instance of the AuditIntegrityViolationEventArgs class.

Properties

AffectedLogRange

Gets the audit log range affected by the violation.

public string? AffectedLogRange { get; init; }

Property Value

string

A string representation of the audit log time range or record IDs affected, or null if not specified.

AffectedRecords

Gets the number of audit records affected by the violation.

public int AffectedRecords { get; }

Property Value

int

The count of audit log entries that were impacted by the integrity violation.

Description

Gets the description of the integrity violation.

public string? Description { get; init; }

Property Value

string

A detailed description of the integrity violation, or null if no description is provided.

Details

Gets additional details about the integrity violation.

public IReadOnlyDictionary<string, object>? Details { get; init; }

Property Value

IReadOnlyDictionary<string, object>

A dictionary containing additional contextual information about the violation, or null if no additional details are available.

DetectedAt

Gets the timestamp when the violation was detected.

public DateTimeOffset DetectedAt { get; }

Property Value

DateTimeOffset

The UTC timestamp when the audit integrity violation was identified by the monitoring system.

Severity

Gets the severity level of the integrity violation.

public string? Severity { get; init; }

Property Value

string

The severity classification of the violation (e.g., "Critical", "High", "Medium"), or null if not specified.

ViolationType

Gets the type of integrity violation detected.

public string ViolationType { get; }

Property Value

string

The category or classification of the integrity violation (e.g., "hash_mismatch", "timestamp_anomaly").