Table of Contents

Class SecurityEventRecordedEventArgs

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

Event arguments for when a security event is recorded in the audit system.

public sealed class SecurityEventRecordedEventArgs : EventArgs
Inheritance
SecurityEventRecordedEventArgs
Inherited Members

Remarks

Initializes a new instance of the SecurityEventRecordedEventArgs class.

Constructors

SecurityEventRecordedEventArgs(string, string, DateTimeOffset)

Event arguments for when a security event is recorded in the audit system.

public SecurityEventRecordedEventArgs(string eventType, string eventId, DateTimeOffset timestamp)

Parameters

eventType string

The type of security event that was recorded.

eventId string

The unique identifier of the recorded event.

timestamp DateTimeOffset

The timestamp when the event was recorded.

Remarks

Initializes a new instance of the SecurityEventRecordedEventArgs class.

Properties

EventId

Gets the unique identifier of the recorded event.

public string EventId { get; }

Property Value

string

A unique string identifier used to track and reference this specific security event.

EventType

Gets the type of security event that was recorded.

public string EventType { get; }

Property Value

string

The category or classification of the security event (e.g., "authentication_failure", "privilege_escalation").

Metadata

Gets additional metadata associated with the security event.

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

Property Value

IReadOnlyDictionary<string, object>

A dictionary containing additional contextual information about the security event, or null if no metadata is available.

Severity

Gets the severity level of the security event.

public string? Severity { get; init; }

Property Value

string

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

Source

Gets the user or system that triggered the security event.

public string? Source { get; init; }

Property Value

string

The identifier of the user account or system component that initiated the security event, or null if the source is unknown.

Timestamp

Gets the timestamp when the event was recorded.

public DateTimeOffset Timestamp { get; }

Property Value

DateTimeOffset

The UTC timestamp when the security event was recorded in the audit system.