Interface IComplianceAlertHandler
- Namespace
- Excalibur.Compliance
- Assembly
- Excalibur.Compliance.Abstractions.dll
Handler for SOC 2 compliance alerts.
public interface IComplianceAlertHandler
Remarks
The continuous monitoring service generates alerts for compliance gaps. Implement this interface to receive and process these alerts (e.g., send to SIEM, email notifications, PagerDuty, etc.).
Methods
HandleComplianceGapAsync(ComplianceGapAlert, CancellationToken)
Handles a compliance gap alert.
Task HandleComplianceGapAsync(ComplianceGapAlert alert, CancellationToken cancellationToken)
Parameters
alertComplianceGapAlertThe compliance gap alert.
cancellationTokenCancellationTokenCancellation token.
Returns
- Task
A task representing the asynchronous operation.
HandleStatusChangeAsync(ComplianceStatusChangeNotification, CancellationToken)
Handles a compliance status change notification.
Task HandleStatusChangeAsync(ComplianceStatusChangeNotification notification, CancellationToken cancellationToken)
Parameters
notificationComplianceStatusChangeNotificationThe status change notification.
cancellationTokenCancellationTokenCancellation token.
Returns
- Task
A task representing the asynchronous operation.
HandleValidationFailureAsync(ControlValidationFailureAlert, CancellationToken)
Handles a control validation failure alert.
Task HandleValidationFailureAsync(ControlValidationFailureAlert alert, CancellationToken cancellationToken)
Parameters
alertControlValidationFailureAlertThe validation failure alert.
cancellationTokenCancellationTokenCancellation token.
Returns
- Task
A task representing the asynchronous operation.