API Reference
Class
SpnPostureRollupService
Combines duplicate SPN detection and general SPN hygiene into one rollup. Low-priv: LDAP only. Optional DNS resolution for specific service classes.
Inheritance
- Object
- SpnPostureRollupService
Methods
public static View Evaluate(String domainName, IEnumerable<String> allowServiceClasses = null, IEnumerable<String> blockServiceClasses = null, IEnumerable<String> dnsResolveClasses = null, Int32 sample = 20) #Returns:
ViewEvaluates SPN posture for a domain, combining duplicate detection and hygiene checks.
Parameters
- domainName System.String
- DNS domain name to evaluate.
- allowServiceClasses System.Collections.Generic.IEnumerable{System.String} = null
- Optional allowlist of service classes to consider (others ignored).
- blockServiceClasses System.Collections.Generic.IEnumerable{System.String} = null
- Optional blocklist of service classes to ignore.
- dnsResolveClasses System.Collections.Generic.IEnumerable{System.String} = null
- Optional set of service classes for which DNS resolution checks are performed.
- sample System.Int32 = 20
- Maximum number of duplicate SPNs to include in the Duplicates sample.
Returns
Combined view with counts, sample duplicates and hygiene snapshot.