Table of Contents

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

reportType EntitlementReportType

The type of report to generate.

tenantId string

Optional tenant scope. Pass null for all tenants.

cancellationToken CancellationToken

Cancellation 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

tenantId string

The tenant identifier to report on.

cancellationToken CancellationToken

Cancellation 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

userId string

The user identifier to report on.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<EntitlementSnapshot>

A snapshot containing all entitlements for the specified user.