Table of Contents

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

alert ComplianceGapAlert

The compliance gap alert.

cancellationToken CancellationToken

Cancellation 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

notification ComplianceStatusChangeNotification

The status change notification.

cancellationToken CancellationToken

Cancellation 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

alert ControlValidationFailureAlert

The validation failure alert.

cancellationToken CancellationToken

Cancellation token.

Returns

Task

A task representing the asynchronous operation.