Class ProvisioningRequestSummary
- Namespace
- Excalibur.A3.Governance.Provisioning
- Assembly
- Excalibur.A3.Governance.Abstractions.dll
Represents the persisted summary of a provisioning request for store operations.
public sealed record ProvisioningRequestSummary : IEquatable<ProvisioningRequestSummary>
- Inheritance
-
ProvisioningRequestSummary
- Implements
- Inherited Members
Constructors
ProvisioningRequestSummary(string, string, string, string, ProvisioningRequestStatus, string, int, string, DateTimeOffset, IReadOnlyList<ApprovalStep>, string?, DateTimeOffset?)
Represents the persisted summary of a provisioning request for store operations.
public ProvisioningRequestSummary(string RequestId, string UserId, string GrantScope, string GrantType, ProvisioningRequestStatus Status, string IdempotencyKey, int RiskScore, string RequestedBy, DateTimeOffset CreatedAt, IReadOnlyList<ApprovalStep> ApprovalSteps, string? TenantId = null, DateTimeOffset? RequestedExpiry = null)
Parameters
RequestIdstringUnique identifier for the request.
UserIdstringThe user requesting the grant.
GrantScopestringThe scope/qualifier of the requested grant.
GrantTypestringThe type of the requested grant.
StatusProvisioningRequestStatusThe current status of the request.
IdempotencyKeystringUnique key for duplicate prevention.
RiskScoreintThe assessed risk score (0-100).
RequestedBystringThe identity that submitted the request.
CreatedAtDateTimeOffsetWhen the request was created.
ApprovalStepsIReadOnlyList<ApprovalStep>The approval steps associated with this request.
TenantIdstringOptional tenant scope for the grant.
RequestedExpiryDateTimeOffset?Optional JIT expiry time for temporary access.
Properties
ApprovalSteps
The approval steps associated with this request.
public IReadOnlyList<ApprovalStep> ApprovalSteps { get; init; }
Property Value
CreatedAt
When the request was created.
public DateTimeOffset CreatedAt { get; init; }
Property Value
GrantScope
The scope/qualifier of the requested grant.
public string GrantScope { get; init; }
Property Value
GrantType
The type of the requested grant.
public string GrantType { get; init; }
Property Value
IdempotencyKey
Unique key for duplicate prevention.
public string IdempotencyKey { get; init; }
Property Value
RequestId
Unique identifier for the request.
public string RequestId { get; init; }
Property Value
RequestedBy
The identity that submitted the request.
public string RequestedBy { get; init; }
Property Value
RequestedExpiry
Optional JIT expiry time for temporary access.
public DateTimeOffset? RequestedExpiry { get; init; }
Property Value
RiskScore
The assessed risk score (0-100).
public int RiskScore { get; init; }
Property Value
Status
The current status of the request.
public ProvisioningRequestStatus Status { get; init; }
Property Value
TenantId
Optional tenant scope for the grant.
public string? TenantId { get; init; }
Property Value
UserId
The user requesting the grant.
public string UserId { get; init; }