Class AuditIntegrityResult
- Namespace
- Excalibur.Data.ElasticSearch.Security
- Assembly
- Excalibur.Data.ElasticSearch.dll
Represents the result of an audit log integrity validation operation.
public sealed class AuditIntegrityResult
- Inheritance
-
AuditIntegrityResult
- Inherited Members
Remarks
Initializes a new instance of the AuditIntegrityResult class.
Constructors
AuditIntegrityResult(Guid, bool, long, long)
Represents the result of an audit log integrity validation operation.
public AuditIntegrityResult(Guid validationId, bool isValid, long totalEventsValidated, long corruptedEvents)
Parameters
validationIdGuidThe unique identifier for this validation operation.
isValidboolWhether the audit logs passed integrity validation.
totalEventsValidatedlongThe total number of events validated.
corruptedEventslongThe number of corrupted events found.
Remarks
Initializes a new instance of the AuditIntegrityResult class.
Properties
CorruptedEventIds
Gets the list of corrupted event IDs.
public IReadOnlyList<string> CorruptedEventIds { get; init; }
Property Value
- IReadOnlyList<string>
The list of corrupted event IDs.
CorruptedEvents
Gets the number of corrupted events found.
public long CorruptedEvents { get; }
Property Value
- long
The number of corrupted events found.
Details
Gets additional validation details.
public IReadOnlyDictionary<string, object> Details { get; init; }
Property Value
- IReadOnlyDictionary<string, object>
Additional validation details.
Errors
Gets any errors encountered during validation.
public IReadOnlyList<string> Errors { get; init; }
Property Value
- IReadOnlyList<string>
Any errors encountered during validation.
ExecutionTimeMs
Gets the validation execution time in milliseconds.
public long ExecutionTimeMs { get; init; }
Property Value
- long
The validation execution time in milliseconds.
IsValid
Gets a value indicating whether the audit logs passed integrity validation.
public bool IsValid { get; }
Property Value
- bool
A value indicating whether the audit logs passed integrity validation.
Message
Gets the detailed validation message.
public string? Message { get; init; }
Property Value
- string
The detailed validation message.
TotalEventsValidated
Gets the total number of events validated.
public long TotalEventsValidated { get; }
Property Value
- long
The total number of events validated.
ValidatedAt
Gets the timestamp when this validation was performed.
public DateTimeOffset ValidatedAt { get; }
Property Value
- DateTimeOffset
The timestamp when this validation was performed.
ValidationId
Gets the unique identifier for this validation operation.
public Guid ValidationId { get; }
Property Value
- Guid
The unique identifier for this validation operation.