API Reference
Assessment
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
- Source (trusting) domain or forest.
- TrustTarget System.String
- Target (trusted) domain or forest.
- TrustType System.DirectoryServices.ActiveDirectory.TrustType
- Native trust type from APIs.
- Direction System.DirectoryServices.ActiveDirectory.TrustDirection
- Trust direction.
- TrustTypeAd ADPlayground.Trusts.TrustKind
- Derived AD-centric classification.
- TrustBase System.String
- Base scope (Forest/Domain) label.
- Status System.String
- Human-friendly status text.
- Level System.Int32
- Coarse numeric level used by UIs.
- TrustStatus ADPlayground.Trusts.TrustStatus
- High-level trust status derived from msDS-TrustForestTrustInfo or validation.
- StatusFlag System.Int32
- Aggregated disabled/other flags from forest-trust info.
- ForestTransitive System.Boolean
- True when forest-transitive.
- SelectiveAuthentication System.Boolean
- True when selective authentication is enabled.
- SidFilteringQuarantined System.Boolean
- True when SID filtering is enabled (quarantined).
- IntraForest System.Boolean
- True when the trust is within the same forest.
- UplevelOnly System.Boolean
- True when the trust targets only Windows 2000 or later domains.
- UsesAesKeys System.Boolean
- True when AES keys are in use.
- UsesRc4Encryption System.Boolean
- True when RC4 encryption is used.
- EncryptionTypes System.String[]
- Supported encryption types read from msDS-SupportedEncryptionTypes.
- TrustAttributes System.String[]
- Friendly attribute names derived from trustAttributes.
- TrustSourceDC System.String
- Representative source DC used during lookups.
- TrustTargetDC System.String
- Representative target DC used during lookups.
- ObjectGuid System.Nullable{System.Guid}
- objectGUID of the trustedDomain object.
- Created System.Nullable{System.DateTime}
- Creation timestamp (UTC) of the trustedDomain object.
- Modified System.Nullable{System.DateTime}
- Last modification timestamp (UTC) of the trustedDomain object.
- SuffixesInclude System.String[]
- Forest trust include suffixes.
- SuffixesExclude System.String[]
- Forest trust exclude suffixes.
- IsTgtDelegationEnabled System.Nullable{System.Boolean}
- Whether TGT delegation is enabled across the trust (null when unknown).
- PeerSelectiveAuthentication System.Nullable{System.Boolean}
- Peer-side selective authentication flag.
- PeerSidFilteringQuarantined System.Nullable{System.Boolean}
- Peer-side SID filtering flag.
- PeerUsesAesKeys System.Nullable{System.Boolean}
- Peer-side AES usage flag.
- PeerUsesRc4Encryption System.Nullable{System.Boolean}
- Peer-side RC4 usage flag.
- PeerIsTgtDelegationEnabled System.Nullable{System.Boolean}
- Peer-side TGT delegation flag.
- TargetNetBiosName System.String
- Target domain NetBIOS name.
- TargetDomainSid System.String
- Target domain SID.
- CreatedDaysAgo System.Nullable{System.Int32}
- Age since creation in days.
- ModifiedDaysAgo System.Nullable{System.Int32}
- Age since last modification in days.
- ForestTrustSuffixes System.Collections.Generic.IReadOnlyList{ADPlayground.Trusts.ForestTrustSuffix}
- Forest trust suffix entries parsed from msDS-TrustForestTrustInfo.
- ForestDomains System.Collections.Generic.IReadOnlyList{ADPlayground.Trusts.ForestTrustDomainInfo}
- Forest trust domain info entries parsed from forest-trust info.
- TrustDirectionText System.String
- Text label for the trust direction.
- TrustTypeText System.String
- Text label for the trust type.
- QueryStatus System.String
- Validation query status text (e.g., OK/NOT OK/Skipped).
- StatusReasons System.String[]
- Reason messages captured during forest-trust parsing, when present.
Methods
public Assessment <Clone>$() #Assessmentpublic 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) #VoidParameters
- TrustSource String
- TrustTarget String
- TrustType TrustType
- Direction TrustDirection
- TrustTypeAd TrustKind
- TrustBase String
- Status String
- Level Int32
- TrustStatus TrustStatus
- StatusFlag Int32
- ForestTransitive Boolean
- SelectiveAuthentication Boolean
- SidFilteringQuarantined Boolean
- IntraForest Boolean
- UplevelOnly Boolean
- UsesAesKeys Boolean
- UsesRc4Encryption Boolean
- EncryptionTypes String[]
- TrustAttributes String[]
- TrustSourceDC String
- TrustTargetDC String
- ObjectGuid Nullable<Guid>
- Created Nullable<DateTime>
- Modified Nullable<DateTime>
- SuffixesInclude String[]
- SuffixesExclude String[]
- IsTgtDelegationEnabled Nullable<Boolean>
- PeerSelectiveAuthentication Nullable<Boolean>
- PeerSidFilteringQuarantined Nullable<Boolean>
- PeerUsesAesKeys Nullable<Boolean>
- PeerUsesRc4Encryption Nullable<Boolean>
- PeerIsTgtDelegationEnabled Nullable<Boolean>
- TargetNetBiosName String
- TargetDomainSid String
- CreatedDaysAgo Nullable<Int32>
- ModifiedDaysAgo Nullable<Int32>
- ForestTrustSuffixes IReadOnlyList<ForestTrustSuffix>
- ForestDomains IReadOnlyList<ForestTrustDomainInfo>
- TrustDirectionText String
- TrustTypeText String
- QueryStatus String
- StatusReasons String[]
public override Int32 GetHashCode() #Int32public override String ToString() #StringInherited Methods
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.