TestimoX

API Reference

Class

TrustsEvaluator

Namespace ADPlayground.Trusts
Assembly ADPlayground
Modifiers static

Aggregates multiple trust posture signals into a simple tabular view for rules and UI.

Inheritance

  • Object
  • TrustsEvaluator

Methods

public static View Get(String domainName, Int32 inactiveThresholdDays = 365, Boolean skipValidation = true, IEnumerable<String> allowedMigrationDomains = null) #
Returns: View

Builds the trust posture view for a domain.

Parameters

domainName System.String requiredposition: 0
DNS name of the domain to analyze.
inactiveThresholdDays System.Int32 = 365 optionalposition: 1
Number of days after which a trust is considered inactive.
skipValidation System.Boolean = true optionalposition: 2
Skip optional cross-domain validations to avoid expensive calls.
allowedMigrationDomains System.Collections.Generic.IEnumerable{System.String} = null optionalposition: 3
Optional allowlist of trust target domains where SID filtering may be intentionally disabled.

Returns

Materialized view with rows and counters.

TryGetTrustedDomainChangeMap(System.String sourceDomain) #

Batch-read all trustedDomain objects under CN=System for the source domain and build a map of trustPartner -> last change (whenChanged/whenCreated). This eliminates per‑trust LDAP queries.

Parameters

sourceDomain System.String required
DNS domain name (trust source).

Returns

Case-insensitive dictionary keyed by trustPartner with the most recent timestamp.