Class AccessReviewCampaignSummary
- Namespace
- Excalibur.A3.Governance.AccessReviews
- Assembly
- Excalibur.A3.Governance.Abstractions.dll
Read-model summary of an access review campaign for query and reporting purposes.
public sealed record AccessReviewCampaignSummary : IEquatable<AccessReviewCampaignSummary>
- Inheritance
-
AccessReviewCampaignSummary
- Implements
- Inherited Members
Remarks
Projected from AccessReviewCampaign aggregate events. Used by
IAccessReviewStore for dashboards, reports, and reviewer UIs.
Constructors
AccessReviewCampaignSummary(string, string, string, AccessReviewScope, string, DateTimeOffset, DateTimeOffset, AccessReviewExpiryPolicy, AccessReviewState, int, int)
Read-model summary of an access review campaign for query and reporting purposes.
public AccessReviewCampaignSummary(string CampaignId, string TenantId, string CampaignName, AccessReviewScope Scope, string CreatedBy, DateTimeOffset StartsAt, DateTimeOffset ExpiresAt, AccessReviewExpiryPolicy ExpiryPolicy, AccessReviewState State, int TotalItems, int DecidedItems)
Parameters
CampaignIdstringUnique campaign identifier.
TenantIdstringThe tenant whose grants the campaign reviews. Every grant it reviews and every grant it revokes belongs to this tenant; there is no estate-wide campaign. A single-tenant host uses the untenanted sentinel.
CampaignNamestringDisplay name of the campaign.
ScopeAccessReviewScopeThe scope of grants being reviewed.
CreatedBystringThe actor who created the campaign.
StartsAtDateTimeOffsetWhen the campaign starts or started.
ExpiresAtDateTimeOffsetWhen the campaign expires or expired.
ExpiryPolicyAccessReviewExpiryPolicyThe policy to apply on expiry.
StateAccessReviewStateCurrent lifecycle state.
TotalItemsintTotal number of grants to review.
DecidedItemsintNumber of grants that have been reviewed.
Remarks
Projected from AccessReviewCampaign aggregate events. Used by
IAccessReviewStore for dashboards, reports, and reviewer UIs.
Properties
CampaignId
Unique campaign identifier.
public string CampaignId { get; init; }
Property Value
CampaignName
Display name of the campaign.
public string CampaignName { get; init; }
Property Value
CreatedBy
The actor who created the campaign.
public string CreatedBy { get; init; }
Property Value
DecidedItems
Number of grants that have been reviewed.
public int DecidedItems { get; init; }
Property Value
ExpiresAt
When the campaign expires or expired.
public DateTimeOffset ExpiresAt { get; init; }
Property Value
ExpiryPolicy
The policy to apply on expiry.
public AccessReviewExpiryPolicy ExpiryPolicy { get; init; }
Property Value
Scope
The scope of grants being reviewed.
public AccessReviewScope Scope { get; init; }
Property Value
StartsAt
When the campaign starts or started.
public DateTimeOffset StartsAt { get; init; }
Property Value
State
Current lifecycle state.
public AccessReviewState State { get; init; }
Property Value
TenantId
The tenant whose grants the campaign reviews. Every grant it reviews and every grant it revokes belongs to this tenant; there is no estate-wide campaign. A single-tenant host uses the untenanted sentinel.
public string TenantId { get; init; }
Property Value
TotalItems
Total number of grants to review.
public int TotalItems { get; init; }