Table of Contents

Interface IElasticsearchSecurityMonitorEvents

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

Defines the contract for security monitoring events and threat intelligence updates including threat detection, anomaly detection, alert generation, and intelligence feed management.

public interface IElasticsearchSecurityMonitorEvents

Methods

UpdateThreatIntelligenceAsync(ThreatIntelligenceUpdateRequest, CancellationToken)

Updates threat intelligence data from external sources for enhanced detection capabilities.

Task<ThreatIntelligenceUpdateResult> UpdateThreatIntelligenceAsync(ThreatIntelligenceUpdateRequest updateRequest, CancellationToken cancellationToken)

Parameters

updateRequest ThreatIntelligenceUpdateRequest

The threat intelligence update request with source parameters.

cancellationToken CancellationToken

The cancellation token to monitor for cancellation requests.

Returns

Task<ThreatIntelligenceUpdateResult>

A task that represents the asynchronous operation. The task result contains the update result including the number of indicators updated and any errors encountered.

Exceptions

SecurityException

Thrown when threat intelligence update fails due to security constraints.

ArgumentNullException

Thrown when the update request is null.

Events

AnomalyDetected

Occurs when an anomaly is detected in security patterns.

event EventHandler<AnomalyDetectedEventArgs>? AnomalyDetected

Event Type

EventHandler<AnomalyDetectedEventArgs>

AutomatedResponseTriggered

Occurs when an automated security response is triggered.

event EventHandler<AutomatedResponseTriggeredEventArgs>? AutomatedResponseTriggered

Event Type

EventHandler<AutomatedResponseTriggeredEventArgs>

SecurityAlertGenerated

Occurs when a security alert is generated.

event EventHandler<SecurityAlertGeneratedEventArgs>? SecurityAlertGenerated

Event Type

EventHandler<SecurityAlertGeneratedEventArgs>

ThreatDetected

Occurs when a security threat is detected.

event EventHandler<ThreatDetectedEventArgs>? ThreatDetected

Event Type

EventHandler<ThreatDetectedEventArgs>