API Reference
RuleSelectionOptions
Options controlling how rules are selected for execution (interactive or automated).
Inheritance
- Object
- RuleSelectionOptions
Constructors
public RuleSelectionOptions() #Inherited Methods
Properties
public Boolean Interactive { get; set; } #If true, prompts the user to pick rules interactively via the configured UI adapter.
public Boolean AllRules { get; set; } #If true, select all rules after filtering (ignores interactive).
public Boolean Baseline { get; set; } #If true, prefer a safe baseline (skips DomainController‑scoped rules).
public Boolean StrictParity { get; set; } #If true, force parity between C# and PowerShell rule sets when available.
public String Filter { get; set; } #Case‑insensitive substring filter applied to rule names.
public Category[] IncludeCategories { get; set; } #Categories to include; when set, only rules in these categories are considered.
public Category[] ExcludeCategories { get; set; } #Categories to exclude from consideration.
public String[] IncludeTags { get; set; } #Tags to include (match any). When set, only rules having at least one matching tag are considered.
public String[] ExcludeTags { get; set; } #Tags to exclude (match any). Exclusions win over inclusions.
public IEnumerable<String> PreselectedRuleNames { get; set; } #Optional explicit list of rule names to run; when set, bypasses interactive selection.
public Nullable<RuleCost> MaxCost { get; set; } #Optional maximum execution cost; rules above this cost are excluded.
public Boolean ExcludeHeavy { get; set; } #When true, excludes rules marked as Heavy or Extreme regardless of MaxCost.
public GroupingMode Grouping { get; set; } #Controls how interactive selection groups rules.
public Boolean ConfirmSelection { get; set; } #When true (default), the interactive selector will ask for a final confirmation after the user presses Enter. Set to false when a separate pre-run summary/confirmation screen will appear to avoid double-confirmation.
public Nullable<RuleSelectionProfile> Profile { get; set; } #Optional curated execution profile applied before explicit include/exclude filters.