TestimoX

API Reference

Class

ComputerReportingScenarioService

Namespace ADPlayground.Computers
Assembly ADPlayground
Modifiers static

Provides typed reporting adapters over computer catalog scenarios.

Inheritance

  • Object
  • ComputerReportingScenarioService

Methods

public static ComputerReportingScenarioResult BuildResult(IEnumerable<ComputerRecord> computers, ComputerRiskThresholds riskThresholds = null, IEnumerable<String> domains = null, DirectoryScenarioOutputProfile profile = Summary) #
Returns: ComputerReportingScenarioResult

Builds a reporting result payload from source rows and optional metadata.

Parameters

computers System.Collections.Generic.IEnumerable{ADPlayground.ComputerRecord} requiredposition: 0
Source computers.
riskThresholds ADPlayground.Computers.ComputerRiskThresholds = null optionalposition: 1
Optional risk thresholds.
domains System.Collections.Generic.IEnumerable{System.String} = null optionalposition: 2
Optional effective domain list.
profile ADPlayground.DirectoryScenarioOutputProfile = Summary optionalposition: 3
Output profile.

Returns

Typed reporting result.

public static IReadOnlyList<ComputerReportingRow> BuildRows(IEnumerable<ComputerRecord> computers, ComputerRiskThresholds riskThresholds = null) #
Returns: IReadOnlyList<ComputerReportingRow>

Builds typed reporting rows from computer records.

Parameters

computers System.Collections.Generic.IEnumerable{ADPlayground.ComputerRecord} requiredposition: 0
Source computers.
riskThresholds ADPlayground.Computers.ComputerRiskThresholds = null optionalposition: 1
Optional risk thresholds.

Returns

Ordered reporting rows.

public static async Task<ComputerReportingScenarioResult> QueryAsync(ComputerReportingScenarioOptions options, CancellationToken cancellationToken = null) #
Returns: Task<ComputerReportingScenarioResult>

Executes a full computer reporting scenario (catalog + risk slicing).

Parameters

options ADPlayground.Computers.ComputerReportingScenarioOptions requiredposition: 0
Reporting scenario options.
cancellationToken System.Threading.CancellationToken = null optionalposition: 1
Cancellation token.

Returns

Typed reporting result.