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
userIdstringThe user who would receive the grant.
grantScopestringThe scope/qualifier of the proposed grant.
grantTypestringThe type of the proposed grant.
cancellationTokenCancellationTokenCancellation token.