Interface IAuditLogExporter
- Namespace
- Excalibur.Compliance
- Assembly
- Excalibur.Compliance.Abstractions.dll
Provides audit event export capabilities to external SIEM and logging platforms.
public interface IAuditLogExporter
Remarks
Implementations export audit events to external systems such as: - Splunk (HTTP Event Collector) - Azure Sentinel (Log Analytics) - Datadog (Log Management) - Elastic Security
Exporters support both real-time and batch modes to optimize throughput while minimizing latency for critical security events.
Properties
Name
Gets the name of this exporter (e.g., "Splunk", "Sentinel", "Datadog").
string Name { get; }
Property Value
Methods
CheckHealthAsync(CancellationToken)
Checks the health and connectivity of the export destination.
Task<AuditExporterHealthResult> CheckHealthAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationTokenA token to cancel the operation.
Returns
- Task<AuditExporterHealthResult>
The health check result.
ExportAsync(AuditEvent, CancellationToken)
Exports a single audit event in real-time.
Task<AuditExportResult> ExportAsync(AuditEvent auditEvent, CancellationToken cancellationToken)
Parameters
auditEventAuditEventThe audit event to export.
cancellationTokenCancellationTokenA token to cancel the operation.
Returns
- Task<AuditExportResult>
The result of the export operation.
ExportBatchAsync(IReadOnlyList<AuditEvent>, CancellationToken)
Exports multiple audit events in a batch.
Task<AuditExportBatchResult> ExportBatchAsync(IReadOnlyList<AuditEvent> auditEvents, CancellationToken cancellationToken)
Parameters
auditEventsIReadOnlyList<AuditEvent>The audit events to export.
cancellationTokenCancellationTokenA token to cancel the operation.
Returns
- Task<AuditExportBatchResult>
The result of the batch export operation.