Table of Contents

Class ThreatDetectedEventArgs

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

Event args for threat detection events.

public sealed class ThreatDetectedEventArgs : EventArgs
Inheritance
ThreatDetectedEventArgs
Inherited Members

Remarks

Initializes a new instance of the ThreatDetectedEventArgs class with the specified threat type and description.

Constructors

ThreatDetectedEventArgs(ThreatType, string)

Event args for threat detection events.

public ThreatDetectedEventArgs(ThreatType threatType, string description)

Parameters

threatType ThreatType

The type of threat that was detected.

description string

A detailed description of the detected threat.

Remarks

Initializes a new instance of the ThreatDetectedEventArgs class with the specified threat type and description.

Properties

Description

Gets the description of the detected threat.

public string Description { get; }

Property Value

string

A string containing detailed information about the detected security threat, including context and relevant details for security analysis.

DetectedAt

Gets the timestamp when the threat was detected.

public DateTimeOffset DetectedAt { get; }

Property Value

DateTimeOffset

A DateTimeOffset representing the exact time when the security threat was detected by the monitoring system.

ThreatType

Gets the type of threat that was detected.

public ThreatType ThreatType { get; }

Property Value

ThreatType

A ThreatType enumeration value indicating the category or classification of the detected security threat.