Class OrphanedGrant
- Namespace
- Excalibur.A3.Governance.OrphanedAccess
- Assembly
- Excalibur.A3.Governance.Abstractions.dll
Represents a single grant flagged as orphaned during a scan.
public sealed record OrphanedGrant : IEquatable<OrphanedGrant>
- Inheritance
-
OrphanedGrant
- Implements
- Inherited Members
Constructors
OrphanedGrant(string, string, PrincipalStatus, DateTimeOffset, OrphanedAccessAction)
Represents a single grant flagged as orphaned during a scan.
public OrphanedGrant(string UserId, string GrantScope, PrincipalStatus UserStatus, DateTimeOffset GrantedOn, OrphanedAccessAction RecommendedAction)
Parameters
UserIdstringThe user/subject identifier who holds the grant.
GrantScopestringThe grant's qualifier/scope.
UserStatusPrincipalStatusThe principal's status at the time of detection.
GrantedOnDateTimeOffsetWhen the grant was originally assigned.
RecommendedActionOrphanedAccessActionThe recommended action for this orphaned grant.
Properties
GrantScope
The grant's qualifier/scope.
public string GrantScope { get; init; }
Property Value
GrantedOn
When the grant was originally assigned.
public DateTimeOffset GrantedOn { get; init; }
Property Value
RecommendedAction
The recommended action for this orphaned grant.
public OrphanedAccessAction RecommendedAction { get; init; }
Property Value
UserId
The user/subject identifier who holds the grant.
public string UserId { get; init; }
Property Value
UserStatus
The principal's status at the time of detection.
public PrincipalStatus UserStatus { get; init; }