TestimoX

API Reference

Class

TrustRow

Namespace ADPlayground.Trusts.TrustsEvaluator
Assembly ADPlayground
Implements
IEquatable<TrustRow>
Modifiers sealed

A single row summarizing a trust and selected posture flags.

Inheritance

  • Object
  • TrustRow

Constructors

public TrustRow(String SourceDomain, String TargetDomain, String Direction, String TrustType, Boolean Transitive, Boolean AesKeysOk, Boolean SelectiveAuth, Boolean SidFiltering, Boolean Downlevel, Nullable<Int32> DaysSinceChanged, Boolean Inactive, String LastChangedUtc) #

A single row summarizing a trust and selected posture flags.

Parameters

SourceDomain System.String requiredposition: 0
Source (trusting) domain.
TargetDomain System.String requiredposition: 1
Target (trusted) domain.
Direction System.String requiredposition: 2
Trust direction.
TrustType System.String requiredposition: 3
Trust type (Forest/External/ParentChild/TreeRoot).
Transitive System.Boolean requiredposition: 4
True when trust is transitive.
AesKeysOk System.Boolean requiredposition: 5
True when AES keys are in use.
SelectiveAuth System.Boolean requiredposition: 6
True when selective authentication is enabled.
SidFiltering System.Boolean requiredposition: 7
True when SID filtering is enabled.
Downlevel System.Boolean requiredposition: 8
True when trust targets a downlevel domain.
DaysSinceChanged System.Nullable{System.Int32} requiredposition: 9
Days since trust was changed/created if known.
Inactive System.Boolean requiredposition: 10
True when DaysSinceChanged exceeds threshold.
LastChangedUtc System.String requiredposition: 11
UTC timestamp of last change when available.

Methods

public TrustRow <Clone>$() #
Returns: TrustRow
public Void Deconstruct(out String SourceDomain, out String TargetDomain, out String Direction, out String TrustType, out Boolean Transitive, out Boolean AesKeysOk, out Boolean SelectiveAuth, out Boolean SidFiltering, out Boolean Downlevel, out Nullable<Int32> DaysSinceChanged, out Boolean Inactive, out String LastChangedUtc) #
Returns: Void

Parameters

SourceDomain String requiredposition: 0
TargetDomain String requiredposition: 1
Direction String requiredposition: 2
TrustType String requiredposition: 3
Transitive Boolean requiredposition: 4
AesKeysOk Boolean requiredposition: 5
SelectiveAuth Boolean requiredposition: 6
SidFiltering Boolean requiredposition: 7
Downlevel Boolean requiredposition: 8
DaysSinceChanged Nullable<Int32> requiredposition: 9
Inactive Boolean requiredposition: 10
LastChangedUtc String requiredposition: 11
public virtual Boolean Equals(TrustRow other) #
Returns: Boolean

Parameters

obj Object requiredposition: 0
public override Int32 GetHashCode() #
Returns: Int32
public override String ToString() #
Returns: String

Properties

public String SourceDomain { get; set; } #

Source (trusting) domain.

public String TargetDomain { get; set; } #

Target (trusted) domain.

public String Direction { get; set; } #

Trust direction.

public String TrustType { get; set; } #

Trust type (Forest/External/ParentChild/TreeRoot).

public Boolean Transitive { get; set; } #

True when trust is transitive.

public Boolean AesKeysOk { get; set; } #

True when AES keys are in use.

public Boolean SelectiveAuth { get; set; } #

True when selective authentication is enabled.

public Boolean SidFiltering { get; set; } #

True when SID filtering is enabled.

public Boolean Downlevel { get; set; } #

True when trust targets a downlevel domain.

public Nullable<Int32> DaysSinceChanged { get; set; } #

Days since trust was changed/created if known.

public Boolean Inactive { get; set; } #

True when DaysSinceChanged exceeds threshold.

public String LastChangedUtc { get; set; } #

UTC timestamp of last change when available.

public Boolean SidFilteringAllowlisted { get; set; } #

True when SID filtering is disabled but the trust target is explicitly allowlisted (for example, migration trusts).

public Boolean SidFilteringEffective { get; } #

Effective SID filtering posture for scoring/tests: true when enabled or allowlisted.