Table of Contents

Interface IGrantRiskAssessor

Namespace
Excalibur.A3.Governance.Provisioning
Assembly
Excalibur.A3.Governance.Abstractions.dll

Assesses the risk score of a proposed grant for provisioning workflow decisions.

public interface IGrantRiskAssessor

Remarks

Risk scores are advisory (0-100) and do not block provisioning. They influence which approval steps are triggered via RiskScoreAbove.

Methods

AssessRiskAsync(string, string, string, CancellationToken)

Assesses the risk of a proposed grant.

Task<int> AssessRiskAsync(string userId, string grantScope, string grantType, CancellationToken cancellationToken)

Parameters

userId string

The user who would receive the grant.

grantScope string

The scope/qualifier of the proposed grant.

grantType string

The type of the proposed grant.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<int>

A risk score from 0 (no risk) to 100 (maximum risk).