Class SoDConflict
- Namespace
- Excalibur.A3.Governance.SeparationOfDuties
- Assembly
- Excalibur.A3.Governance.Abstractions.dll
Represents a detected Separation of Duties conflict for a specific user.
public sealed record SoDConflict : IEquatable<SoDConflict>
- Inheritance
-
SoDConflict
- Implements
- Inherited Members
Constructors
SoDConflict(string, string, string, string, DateTimeOffset, SoDSeverity)
Represents a detected Separation of Duties conflict for a specific user.
public SoDConflict(string PolicyId, string UserId, string ConflictingItem1, string ConflictingItem2, DateTimeOffset DetectedAt, SoDSeverity Severity)
Parameters
PolicyIdstringThe identifier of the violated SoDPolicy.
UserIdstringThe user who holds conflicting grants.
ConflictingItem1stringThe first conflicting role or activity name.
ConflictingItem2stringThe second conflicting role or activity name.
DetectedAtDateTimeOffsetWhen the conflict was detected (UTC).
SeveritySoDSeverityThe severity of the violated policy.
Properties
ConflictingItem1
The first conflicting role or activity name.
public string ConflictingItem1 { get; init; }
Property Value
ConflictingItem2
The second conflicting role or activity name.
public string ConflictingItem2 { get; init; }
Property Value
DetectedAt
When the conflict was detected (UTC).
public DateTimeOffset DetectedAt { get; init; }
Property Value
PolicyId
The identifier of the violated SoDPolicy.
public string PolicyId { get; init; }
Property Value
Severity
The severity of the violated policy.
public SoDSeverity Severity { get; init; }
Property Value
UserId
The user who holds conflicting grants.
public string UserId { get; init; }