Interface IElasticsearchSecurityAnalysis
- Namespace
- Excalibur.Data.ElasticSearch.Security
- Assembly
- Excalibur.Data.ElasticSearch.dll
Defines the contract for security event analysis including authentication analysis, data access monitoring, threat detection, and risk assessment.
public interface IElasticsearchSecurityAnalysis
Properties
SupportedThreatTypes
Gets the supported threat detection capabilities.
IReadOnlyCollection<ThreatType> SupportedThreatTypes { get; }
Property Value
- IReadOnlyCollection<ThreatType>
A collection of threat types that can be detected by this monitor.
Methods
AnalyzeAuthenticationEventAsync(AuthenticationEvent, CancellationToken)
Analyzes an authentication event for suspicious patterns and security threats.
Task<SecurityAnalysisResult> AnalyzeAuthenticationEventAsync(AuthenticationEvent authenticationEvent, CancellationToken cancellationToken)
Parameters
authenticationEventAuthenticationEventThe authentication event to analyze.
cancellationTokenCancellationTokenThe cancellation token to monitor for cancellation requests.
Returns
- Task<SecurityAnalysisResult>
A task that represents the asynchronous operation. The task result contains the security analysis result including threat assessment and recommended actions.
Exceptions
- SecurityException
Thrown when security analysis fails due to security constraints.
- ArgumentNullException
Thrown when the authentication event is null.
MonitorSecurityEventAsync(SecurityMonitoringEvent, CancellationToken)
Monitors a security event for compliance and threat detection.
Task MonitorSecurityEventAsync(SecurityMonitoringEvent securityEvent, CancellationToken cancellationToken)
Parameters
securityEventSecurityMonitoringEventThe security event to monitor.
cancellationTokenCancellationTokenThe cancellation token to monitor for cancellation requests.
Returns
- Task
A task representing the asynchronous monitoring operation.