Class EntitlementEntry
- Namespace
- Excalibur.A3.Governance.Reporting
- Assembly
- Excalibur.A3.Governance.Abstractions.dll
A single entitlement (grant) in a report snapshot.
public sealed record EntitlementEntry : IEquatable<EntitlementEntry>
- Inheritance
-
EntitlementEntry
- Implements
- Inherited Members
Constructors
EntitlementEntry(string, PrincipalType, string, DateTimeOffset, string, DateTimeOffset?, bool, EntitlementReviewStatus?)
A single entitlement (grant) in a report snapshot.
public EntitlementEntry(string UserId, PrincipalType PrincipalType, string GrantScope, DateTimeOffset GrantedOn, string GrantedBy, DateTimeOffset? ExpiresOn, bool IsActive, EntitlementReviewStatus? ReviewStatus)
Parameters
UserIdstringThe principal who holds the grant.
PrincipalTypePrincipalTypeThe type of principal (human, service account, bot, API key).
GrantScopestringThe scope or resource the grant applies to.
GrantedOnDateTimeOffsetWhen the grant was created.
GrantedBystringWho or what issued the grant.
ExpiresOnDateTimeOffset?When the grant expires, or null if permanent.
IsActiveboolWhether the grant is currently active.
ReviewStatusEntitlementReviewStatusReview and compliance status, or null if unavailable.
Properties
ExpiresOn
When the grant expires, or null if permanent.
public DateTimeOffset? ExpiresOn { get; init; }
Property Value
GrantScope
The scope or resource the grant applies to.
public string GrantScope { get; init; }
Property Value
GrantedBy
Who or what issued the grant.
public string GrantedBy { get; init; }
Property Value
GrantedOn
When the grant was created.
public DateTimeOffset GrantedOn { get; init; }
Property Value
IsActive
Whether the grant is currently active.
public bool IsActive { get; init; }
Property Value
PrincipalType
The type of principal (human, service account, bot, API key).
public PrincipalType PrincipalType { get; init; }
Property Value
ReviewStatus
Review and compliance status, or null if unavailable.
public EntitlementReviewStatus? ReviewStatus { get; init; }
Property Value
UserId
The principal who holds the grant.
public string UserId { get; init; }