Table of Contents

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

UserId string

The principal who holds the grant.

PrincipalType PrincipalType

The type of principal (human, service account, bot, API key).

GrantScope string

The scope or resource the grant applies to.

GrantedOn DateTimeOffset

When the grant was created.

GrantedBy string

Who or what issued the grant.

ExpiresOn DateTimeOffset?

When the grant expires, or null if permanent.

IsActive bool

Whether the grant is currently active.

ReviewStatus EntitlementReviewStatus

Review and compliance status, or null if unavailable.

Properties

ExpiresOn

When the grant expires, or null if permanent.

public DateTimeOffset? ExpiresOn { get; init; }

Property Value

DateTimeOffset?

GrantScope

The scope or resource the grant applies to.

public string GrantScope { get; init; }

Property Value

string

GrantedBy

Who or what issued the grant.

public string GrantedBy { get; init; }

Property Value

string

GrantedOn

When the grant was created.

public DateTimeOffset GrantedOn { get; init; }

Property Value

DateTimeOffset

IsActive

Whether the grant is currently active.

public bool IsActive { get; init; }

Property Value

bool

PrincipalType

The type of principal (human, service account, bot, API key).

public PrincipalType PrincipalType { get; init; }

Property Value

PrincipalType

ReviewStatus

Review and compliance status, or null if unavailable.

public EntitlementReviewStatus? ReviewStatus { get; init; }

Property Value

EntitlementReviewStatus

UserId

The principal who holds the grant.

public string UserId { get; init; }

Property Value

string