Table of Contents

Class AccessReviewScope

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

Defines the scope of an access review campaign, specifying which grants to review.

public sealed record AccessReviewScope : IEquatable<AccessReviewScope>
Inheritance
AccessReviewScope
Implements
Inherited Members

Remarks

A scope combines a AccessReviewScopeType with an optional filter value, enabling targeted reviews such as "all grants for role Admin" or "all grants for user jdoe". A scope never names a tenant: the tenant is the campaign's own TenantId, so every grant a campaign reviews or revokes belongs to that one tenant.

Constructors

AccessReviewScope(AccessReviewScopeType, string?)

Defines the scope of an access review campaign, specifying which grants to review.

public AccessReviewScope(AccessReviewScopeType Type, string? FilterValue)

Parameters

Type AccessReviewScopeType

The type of scope filter.

FilterValue string

The filter value for the scope: the role name for ByRole, the user ID for ByUser. Required for both; a campaign whose scope lacks it revokes nothing rather than widening to every grant in the tenant. Ignored for AllGrants.

Remarks

A scope combines a AccessReviewScopeType with an optional filter value, enabling targeted reviews such as "all grants for role Admin" or "all grants for user jdoe". A scope never names a tenant: the tenant is the campaign's own TenantId, so every grant a campaign reviews or revokes belongs to that one tenant.

Properties

FilterValue

The filter value for the scope: the role name for ByRole, the user ID for ByUser. Required for both; a campaign whose scope lacks it revokes nothing rather than widening to every grant in the tenant. Ignored for AllGrants.

public string? FilterValue { get; init; }

Property Value

string

Type

The type of scope filter.

public AccessReviewScopeType Type { get; init; }

Property Value

AccessReviewScopeType