Class AuditLogIntegrityResult
- Namespace
- Excalibur.Data.ElasticSearch.Security
- Assembly
- Excalibur.Data.ElasticSearch.dll
Represents an audit log integrity result.
public sealed class AuditLogIntegrityResult
- Inheritance
-
AuditLogIntegrityResult
- Inherited Members
Remarks
Initializes a new instance of the AuditLogIntegrityResult class.
Constructors
AuditLogIntegrityResult(bool, int, int, string)
Represents an audit log integrity result.
public AuditLogIntegrityResult(bool isValid, int totalEvents, int corruptedEvents, string message)
Parameters
isValidboolA value indicating whether the audit log integrity check passed.
totalEventsintThe total number of events checked.
corruptedEventsintThe number of corrupted events found.
messagestringA descriptive message about the integrity check result.
Remarks
Initializes a new instance of the AuditLogIntegrityResult class.
Properties
CorruptedEvents
Gets the number of corrupted events found during the integrity check.
public int CorruptedEvents { get; }
Property Value
- int
The number of corrupted audit events.
IsValid
Gets a value indicating whether the audit log integrity check passed.
public bool IsValid { get; }
Property Value
- bool
trueif the audit log is valid; otherwise,false.
Message
Gets a descriptive message about the integrity check result.
public string Message { get; }
Property Value
- string
A message describing the audit log integrity check outcome.
TotalEvents
Gets the total number of events that were checked for integrity.
public int TotalEvents { get; }
Property Value
- int
The total number of audit events checked.