Interface IEntitlementReportProvider
- Namespace
- Excalibur.A3.Governance.Reporting
- Assembly
- Excalibur.A3.Governance.Abstractions.dll
Generates entitlement report snapshots for governance and compliance purposes.
public interface IEntitlementReportProvider
Remarks
Aggregates data from grant stores, access review stores, separation-of-duties evaluators, and principal type providers to build comprehensive entitlement snapshots.
Supports six report types: user entitlements, tenant entitlements, orphaned grants, expiring grants, SoD violations, and unreviewed grants.
Methods
GenerateReportAsync(EntitlementReportType, string?, CancellationToken)
Generates an entitlement report of the specified type.
Task<EntitlementSnapshot> GenerateReportAsync(EntitlementReportType reportType, string? tenantId, CancellationToken cancellationToken)
Parameters
reportTypeEntitlementReportTypeThe type of report to generate.
tenantIdstringOptional tenant scope. Pass null for all tenants.
cancellationTokenCancellationTokenCancellation token.
Returns
- Task<EntitlementSnapshot>
A snapshot containing entitlements matching the report criteria.
GenerateTenantSnapshotAsync(string, CancellationToken)
Generates an entitlement snapshot for a specific tenant.
Task<EntitlementSnapshot> GenerateTenantSnapshotAsync(string tenantId, CancellationToken cancellationToken)
Parameters
tenantIdstringThe tenant identifier to report on.
cancellationTokenCancellationTokenCancellation token.
Returns
- Task<EntitlementSnapshot>
A snapshot containing all entitlements within the specified tenant.
GenerateUserSnapshotAsync(string, CancellationToken)
Generates an entitlement snapshot for a specific user.
Task<EntitlementSnapshot> GenerateUserSnapshotAsync(string userId, CancellationToken cancellationToken)
Parameters
userIdstringThe user identifier to report on.
cancellationTokenCancellationTokenCancellation token.
Returns
- Task<EntitlementSnapshot>
A snapshot containing all entitlements for the specified user.