TestimoX

API Reference

Class

Assessment

Namespace ADPlayground.Trusts.TrustExplorer
Assembly ADPlayground
Implements
IEquatable<Assessment>
Modifiers sealed

Aggregated trust assessment row enriched with LDAP trustedDomain data and derived posture fields.

Inheritance

  • Object
  • Assessment

Constructors

public Assessment(String TrustSource, String TrustTarget, TrustType TrustType, TrustDirection Direction, TrustKind TrustTypeAd, String TrustBase, String Status, Int32 Level, TrustStatus TrustStatus, Int32 StatusFlag, Boolean ForestTransitive, Boolean SelectiveAuthentication, Boolean SidFilteringQuarantined, Boolean IntraForest, Boolean UplevelOnly, Boolean UsesAesKeys, Boolean UsesRc4Encryption, String[] EncryptionTypes, String[] TrustAttributes, String TrustSourceDC, String TrustTargetDC, Nullable<Guid> ObjectGuid, Nullable<DateTime> Created, Nullable<DateTime> Modified, String[] SuffixesInclude, String[] SuffixesExclude, Nullable<Boolean> IsTgtDelegationEnabled, Nullable<Boolean> PeerSelectiveAuthentication, Nullable<Boolean> PeerSidFilteringQuarantined, Nullable<Boolean> PeerUsesAesKeys, Nullable<Boolean> PeerUsesRc4Encryption, Nullable<Boolean> PeerIsTgtDelegationEnabled, String TargetNetBiosName, String TargetDomainSid, Nullable<Int32> CreatedDaysAgo, Nullable<Int32> ModifiedDaysAgo, IReadOnlyList<ForestTrustSuffix> ForestTrustSuffixes, IReadOnlyList<ForestTrustDomainInfo> ForestDomains, String TrustDirectionText, String TrustTypeText, String QueryStatus, String[] StatusReasons) #

Aggregated trust assessment row enriched with LDAP trustedDomain data and derived posture fields.

Parameters

TrustSource System.String requiredposition: 0
Source (trusting) domain or forest.
TrustTarget System.String requiredposition: 1
Target (trusted) domain or forest.
TrustType System.DirectoryServices.ActiveDirectory.TrustType requiredposition: 2
Native trust type from APIs.
Direction System.DirectoryServices.ActiveDirectory.TrustDirection requiredposition: 3
Trust direction.
TrustTypeAd ADPlayground.Trusts.TrustKind requiredposition: 4
Derived AD-centric classification.
TrustBase System.String requiredposition: 5
Base scope (Forest/Domain) label.
Status System.String requiredposition: 6
Human-friendly status text.
Level System.Int32 requiredposition: 7
Coarse numeric level used by UIs.
TrustStatus ADPlayground.Trusts.TrustStatus requiredposition: 8
High-level trust status derived from msDS-TrustForestTrustInfo or validation.
StatusFlag System.Int32 requiredposition: 9
Aggregated disabled/other flags from forest-trust info.
ForestTransitive System.Boolean requiredposition: 10
True when forest-transitive.
SelectiveAuthentication System.Boolean requiredposition: 11
True when selective authentication is enabled.
SidFilteringQuarantined System.Boolean requiredposition: 12
True when SID filtering is enabled (quarantined).
IntraForest System.Boolean requiredposition: 13
True when the trust is within the same forest.
UplevelOnly System.Boolean requiredposition: 14
True when the trust targets only Windows 2000 or later domains.
UsesAesKeys System.Boolean requiredposition: 15
True when AES keys are in use.
UsesRc4Encryption System.Boolean requiredposition: 16
True when RC4 encryption is used.
EncryptionTypes System.String[] requiredposition: 17
Supported encryption types read from msDS-SupportedEncryptionTypes.
TrustAttributes System.String[] requiredposition: 18
Friendly attribute names derived from trustAttributes.
TrustSourceDC System.String requiredposition: 19
Representative source DC used during lookups.
TrustTargetDC System.String requiredposition: 20
Representative target DC used during lookups.
ObjectGuid System.Nullable{System.Guid} requiredposition: 21
objectGUID of the trustedDomain object.
Created System.Nullable{System.DateTime} requiredposition: 22
Creation timestamp (UTC) of the trustedDomain object.
Modified System.Nullable{System.DateTime} requiredposition: 23
Last modification timestamp (UTC) of the trustedDomain object.
SuffixesInclude System.String[] requiredposition: 24
Forest trust include suffixes.
SuffixesExclude System.String[] requiredposition: 25
Forest trust exclude suffixes.
IsTgtDelegationEnabled System.Nullable{System.Boolean} requiredposition: 26
Whether TGT delegation is enabled across the trust (null when unknown).
PeerSelectiveAuthentication System.Nullable{System.Boolean} requiredposition: 27
Peer-side selective authentication flag.
PeerSidFilteringQuarantined System.Nullable{System.Boolean} requiredposition: 28
Peer-side SID filtering flag.
PeerUsesAesKeys System.Nullable{System.Boolean} requiredposition: 29
Peer-side AES usage flag.
PeerUsesRc4Encryption System.Nullable{System.Boolean} requiredposition: 30
Peer-side RC4 usage flag.
PeerIsTgtDelegationEnabled System.Nullable{System.Boolean} requiredposition: 31
Peer-side TGT delegation flag.
TargetNetBiosName System.String requiredposition: 32
Target domain NetBIOS name.
TargetDomainSid System.String requiredposition: 33
Target domain SID.
CreatedDaysAgo System.Nullable{System.Int32} requiredposition: 34
Age since creation in days.
ModifiedDaysAgo System.Nullable{System.Int32} requiredposition: 35
Age since last modification in days.
ForestTrustSuffixes System.Collections.Generic.IReadOnlyList{ADPlayground.Trusts.ForestTrustSuffix} requiredposition: 36
Forest trust suffix entries parsed from msDS-TrustForestTrustInfo.
ForestDomains System.Collections.Generic.IReadOnlyList{ADPlayground.Trusts.ForestTrustDomainInfo} requiredposition: 37
Forest trust domain info entries parsed from forest-trust info.
TrustDirectionText System.String requiredposition: 38
Text label for the trust direction.
TrustTypeText System.String requiredposition: 39
Text label for the trust type.
QueryStatus System.String requiredposition: 40
Validation query status text (e.g., OK/NOT OK/Skipped).
StatusReasons System.String[] requiredposition: 41
Reason messages captured during forest-trust parsing, when present.

Methods

public Assessment <Clone>$() #
Returns: Assessment
public Void Deconstruct(out String TrustSource, out String TrustTarget, out TrustType TrustType, out TrustDirection Direction, out TrustKind TrustTypeAd, out String TrustBase, out String Status, out Int32 Level, out TrustStatus TrustStatus, out Int32 StatusFlag, out Boolean ForestTransitive, out Boolean SelectiveAuthentication, out Boolean SidFilteringQuarantined, out Boolean IntraForest, out Boolean UplevelOnly, out Boolean UsesAesKeys, out Boolean UsesRc4Encryption, out String[] EncryptionTypes, out String[] TrustAttributes, out String TrustSourceDC, out String TrustTargetDC, out Nullable<Guid> ObjectGuid, out Nullable<DateTime> Created, out Nullable<DateTime> Modified, out String[] SuffixesInclude, out String[] SuffixesExclude, out Nullable<Boolean> IsTgtDelegationEnabled, out Nullable<Boolean> PeerSelectiveAuthentication, out Nullable<Boolean> PeerSidFilteringQuarantined, out Nullable<Boolean> PeerUsesAesKeys, out Nullable<Boolean> PeerUsesRc4Encryption, out Nullable<Boolean> PeerIsTgtDelegationEnabled, out String TargetNetBiosName, out String TargetDomainSid, out Nullable<Int32> CreatedDaysAgo, out Nullable<Int32> ModifiedDaysAgo, out IReadOnlyList<ForestTrustSuffix> ForestTrustSuffixes, out IReadOnlyList<ForestTrustDomainInfo> ForestDomains, out String TrustDirectionText, out String TrustTypeText, out String QueryStatus, out String[] StatusReasons) #
Returns: Void

Parameters

TrustSource String requiredposition: 0
TrustTarget String requiredposition: 1
TrustType TrustType requiredposition: 2
Direction TrustDirection requiredposition: 3
TrustTypeAd TrustKind requiredposition: 4
TrustBase String requiredposition: 5
Status String requiredposition: 6
Level Int32 requiredposition: 7
TrustStatus TrustStatus requiredposition: 8
StatusFlag Int32 requiredposition: 9
ForestTransitive Boolean requiredposition: 10
SelectiveAuthentication Boolean requiredposition: 11
SidFilteringQuarantined Boolean requiredposition: 12
IntraForest Boolean requiredposition: 13
UplevelOnly Boolean requiredposition: 14
UsesAesKeys Boolean requiredposition: 15
UsesRc4Encryption Boolean requiredposition: 16
EncryptionTypes String[] requiredposition: 17
TrustAttributes String[] requiredposition: 18
TrustSourceDC String requiredposition: 19
TrustTargetDC String requiredposition: 20
ObjectGuid Nullable<Guid> requiredposition: 21
Created Nullable<DateTime> requiredposition: 22
Modified Nullable<DateTime> requiredposition: 23
SuffixesInclude String[] requiredposition: 24
SuffixesExclude String[] requiredposition: 25
IsTgtDelegationEnabled Nullable<Boolean> requiredposition: 26
PeerSelectiveAuthentication Nullable<Boolean> requiredposition: 27
PeerSidFilteringQuarantined Nullable<Boolean> requiredposition: 28
PeerUsesAesKeys Nullable<Boolean> requiredposition: 29
PeerUsesRc4Encryption Nullable<Boolean> requiredposition: 30
PeerIsTgtDelegationEnabled Nullable<Boolean> requiredposition: 31
TargetNetBiosName String requiredposition: 32
TargetDomainSid String requiredposition: 33
CreatedDaysAgo Nullable<Int32> requiredposition: 34
ModifiedDaysAgo Nullable<Int32> requiredposition: 35
ForestTrustSuffixes IReadOnlyList<ForestTrustSuffix> requiredposition: 36
ForestDomains IReadOnlyList<ForestTrustDomainInfo> requiredposition: 37
TrustDirectionText String requiredposition: 38
TrustTypeText String requiredposition: 39
QueryStatus String requiredposition: 40
StatusReasons String[] requiredposition: 41
public virtual Boolean Equals(Assessment other) #
Returns: Boolean

Parameters

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

Properties

public String TrustSource { get; set; } #

Source (trusting) domain or forest.

public String TrustTarget { get; set; } #

Target (trusted) domain or forest.

public TrustType TrustType { get; set; } #

Native trust type from APIs.

public TrustDirection Direction { get; set; } #

Trust direction.

public TrustKind TrustTypeAd { get; set; } #

Derived AD-centric classification.

public String TrustBase { get; set; } #

Base scope (Forest/Domain) label.

public String Status { get; set; } #

Human-friendly status text.

public Int32 Level { get; set; } #

Coarse numeric level used by UIs.

public TrustStatus TrustStatus { get; set; } #

High-level trust status derived from msDS-TrustForestTrustInfo or validation.

public Int32 StatusFlag { get; set; } #

Aggregated disabled/other flags from forest-trust info.

public Boolean ForestTransitive { get; set; } #

True when forest-transitive.

public Boolean SelectiveAuthentication { get; set; } #

True when selective authentication is enabled.

public Boolean SidFilteringQuarantined { get; set; } #

True when SID filtering is enabled (quarantined).

public Boolean IntraForest { get; set; } #

True when the trust is within the same forest.

public Boolean UplevelOnly { get; set; } #

True when the trust targets only Windows 2000 or later domains.

public Boolean UsesAesKeys { get; set; } #

True when AES keys are in use.

public Boolean UsesRc4Encryption { get; set; } #

True when RC4 encryption is used.

public String[] EncryptionTypes { get; set; } #

Supported encryption types read from msDS-SupportedEncryptionTypes.

public String[] TrustAttributes { get; set; } #

Friendly attribute names derived from trustAttributes.

public String TrustSourceDC { get; set; } #

Representative source DC used during lookups.

public String TrustTargetDC { get; set; } #

Representative target DC used during lookups.

public Nullable<Guid> ObjectGuid { get; set; } #

objectGUID of the trustedDomain object.

public Nullable<DateTime> Created { get; set; } #

Creation timestamp (UTC) of the trustedDomain object.

public Nullable<DateTime> Modified { get; set; } #

Last modification timestamp (UTC) of the trustedDomain object.

public String[] SuffixesInclude { get; set; } #

Forest trust include suffixes.

public String[] SuffixesExclude { get; set; } #

Forest trust exclude suffixes.

public Nullable<Boolean> IsTgtDelegationEnabled { get; set; } #

Whether TGT delegation is enabled across the trust (null when unknown).

public Nullable<Boolean> PeerSelectiveAuthentication { get; set; } #

Peer-side selective authentication flag.

public Nullable<Boolean> PeerSidFilteringQuarantined { get; set; } #

Peer-side SID filtering flag.

public Nullable<Boolean> PeerUsesAesKeys { get; set; } #

Peer-side AES usage flag.

public Nullable<Boolean> PeerUsesRc4Encryption { get; set; } #

Peer-side RC4 usage flag.

public Nullable<Boolean> PeerIsTgtDelegationEnabled { get; set; } #

Peer-side TGT delegation flag.

public String TargetNetBiosName { get; set; } #

Target domain NetBIOS name.

public String TargetDomainSid { get; set; } #

Target domain SID.

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

Age since creation in days.

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

Age since last modification in days.

public IReadOnlyList<ForestTrustSuffix> ForestTrustSuffixes { get; set; } #

Forest trust suffix entries parsed from msDS-TrustForestTrustInfo.

public IReadOnlyList<ForestTrustDomainInfo> ForestDomains { get; set; } #

Forest trust domain info entries parsed from forest-trust info.

public String TrustDirectionText { get; set; } #

Text label for the trust direction.

public String TrustTypeText { get; set; } #

Text label for the trust type.

public String QueryStatus { get; set; } #

Validation query status text (e.g., OK/NOT OK/Skipped).

public String[] StatusReasons { get; set; } #

Reason messages captured during forest-trust parsing, when present.