TestimoX

API Reference

Class

DomainControllerLdapConnectivityPostureService

Namespace ADPlayground.DomainControllers
Assembly ADPlayground
Modifiers static

Builds a typed LDAP connectivity and certificate posture view for a single domain controller.

Inheritance

  • Object
  • DomainControllerLdapConnectivityPostureService

Methods

public static View Evaluate(Options options = null, Func<Options, CancellationToken, Task<LdapServerResult>> scanAsync = null, Func<LdapServerResult, Options, CancellationToken, Task<LdapServerReadable>> readableFactoryAsync = null, CancellationToken cancellationToken = null) #
Returns: View

Evaluates LDAP connectivity posture for a single domain controller using a synchronous facade.

Parameters

options ADPlayground.DomainControllers.DomainControllerLdapConnectivityPostureService.Options = null optionalposition: 0
Evaluation options.
scanAsync System.Func{ADPlayground.DomainControllers.DomainControllerLdapConnectivityPostureService.Options,System.Threading.CancellationToken,System.Threading.Tasks.Task{ADPlayground.Ldap.LdapServerResult}} = null optionalposition: 1
Optional low-level scanner override for tests.
readableFactoryAsync System.Func{ADPlayground.Ldap.LdapServerResult,ADPlayground.DomainControllers.DomainControllerLdapConnectivityPostureService.Options,System.Threading.CancellationToken,System.Threading.Tasks.Task{ADPlayground.Ldap.LdapServerReadable}} = null optionalposition: 2
Optional readable projection override for tests.
cancellationToken System.Threading.CancellationToken = null optionalposition: 3
Cancellation token.

Returns

Typed LDAP connectivity posture view.

public static async Task<View> EvaluateAsync(Options options = null, Func<Options, CancellationToken, Task<LdapServerResult>> scanAsync = null, Func<LdapServerResult, Options, CancellationToken, Task<LdapServerReadable>> readableFactoryAsync = null, CancellationToken cancellationToken = null) #
Returns: Task<View>

Evaluates LDAP connectivity posture for a single domain controller.

Parameters

options ADPlayground.DomainControllers.DomainControllerLdapConnectivityPostureService.Options = null optionalposition: 0
Evaluation options.
scanAsync System.Func{ADPlayground.DomainControllers.DomainControllerLdapConnectivityPostureService.Options,System.Threading.CancellationToken,System.Threading.Tasks.Task{ADPlayground.Ldap.LdapServerResult}} = null optionalposition: 1
Optional low-level scanner override for tests.
readableFactoryAsync System.Func{ADPlayground.Ldap.LdapServerResult,ADPlayground.DomainControllers.DomainControllerLdapConnectivityPostureService.Options,System.Threading.CancellationToken,System.Threading.Tasks.Task{ADPlayground.Ldap.LdapServerReadable}} = null optionalposition: 2
Optional readable projection override for tests.
cancellationToken System.Threading.CancellationToken = null optionalposition: 3
Cancellation token.

Returns

Typed LDAP connectivity posture view.