Interface IAccessReviewNotifier
- Namespace
- Excalibur.A3.Governance.AccessReviews
- Assembly
- Excalibur.A3.Governance.Abstractions.dll
Sends notifications related to access review campaigns.
public interface IAccessReviewNotifier
Remarks
Consumers implement this interface to integrate with their notification infrastructure (e.g., email, Slack, Teams). There is no default implementation: the NotifyAndExtend policy requires a registered notifier, and a campaign configured with that policy is left untouched — and the failure logged — when none is registered. An access review is an audit surface, so the framework will not record a notification it did not send.
Methods
NotifyCampaignExtendedAsync(string, CancellationToken)
Notifies reviewers that a campaign deadline has been extended because the campaign expired with items still unreviewed.
Task NotifyCampaignExtendedAsync(string campaignId, CancellationToken cancellationToken)
Parameters
campaignIdstringThe campaign identifier.
cancellationTokenCancellationTokenCancellation token.
Returns
- Task
A task that completes when reviewers have been notified.
Remarks
Called before the deadline is extended. If this throws, the extension does not happen and the campaign is left at its existing deadline for the next expiry sweep to retry.