API Reference
TestRunConfig
Configuration payload for a scheduled or ad-hoc test run.
Inheritance
- Object
- TestRunConfig
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property ServiceConfig.TestRun
Constructors
public TestRunConfig() #Inherited Methods
Properties
public Boolean Enabled { get; set; } #When false, skips execution (used by schedulers to disable a configured job).
public List<String> RuleNames { get; set; } #Optional list of C# rule names to run; when null, uses engine defaults.
public List<String> PowerShellRuleNames { get; set; } #Optional list of PowerShell rule names to run.
public String PowerShellRulesDirectory { get; set; } #Optional directory containing additional user PowerShell rules (.ps1) to load.
public Dictionary<String, Dictionary<String, Object>> RuleOverrides { get; set; } #Per-rule overrides for source parameters (RuleName -> key/value map).
public String RuleConfigPath { get; set; } #Path to a JSON file with an array of RuleConfig items to apply.
public List<Category> IncludeCategories { get; set; } #Categories to include during rule selection.
public List<Category> ExcludeCategories { get; set; } #Categories to exclude during rule selection.
public List<String> IncludeTags { get; set; } #Tags to include (match any).
public List<String> ExcludeTags { get; set; } #Tags to exclude (match any).
public Nullable<RuleCost> MaxCost { get; set; } #Maximum rule cost to include (e.g., Moderate).
public Nullable<Boolean> ExcludeHeavy { get; set; } #Exclude rules marked as Heavy or Extreme regardless of MaxCost.
public Nullable<RuleSelectionProfile> Profile { get; set; } #Optional curated rule-selection profile applied before explicit filters.
public Nullable<DomainControllerTargetingMode> DomainControllerTargetingMode { get; set; } #Controls whether DomainController-scoped rules sample a subset of DCs per domain, run against every discovered DC, or honor an explicit reviewed host list.
public Nullable<Int32> DomainControllerTargetsPerDomain { get; set; } #Maximum number of DCs per domain targeted by DomainController-scoped rules when sampling is enabled. Ignored when DomainControllerTargetingMode is All or Explicit.
public List<String> ExplicitDomainControllerTargets { get; set; } #Optional explicit list of DCs for DomainController-scoped rule execution. When populated, this list takes precedence over sampling and does not alter broader discovery/query routing.
public List<String> IncludeDomains { get; set; } #Optional domain DNS names to include in discovery and domain-scoped rule execution.
public List<String> ExcludeDomains { get; set; } #Optional domain DNS names to exclude from discovery and domain-scoped rule execution.
public Nullable<Boolean> IncludeTrustedDomains { get; set; } #When true, discovery may include trusted domains where supported by the AD discovery layer.