TestimoX

API Reference

Class

CxComplianceProfile

Namespace ComputerX.Controls
Assembly ComputerX
Modifiers sealed

Describes which vendor baseline to follow for evaluation and optional fallbacks/overrides.

Inheritance

  • Object
  • CxComplianceProfile

Constructors

public CxComplianceProfile(CxVendor primary, IEnumerable<CxVendor> fallbacks = null, IDictionary<String, CxDesired> overrides = null) #

Initializes a profile with a primary vendor, optional fallbacks and per-control overrides.

Parameters

primary ComputerX.Controls.CxVendor requiredposition: 0
Primary vendor to use.
fallbacks System.Collections.Generic.IEnumerable{ComputerX.Controls.CxVendor} = null optionalposition: 1
Fallback vendors in priority order.
overrides System.Collections.Generic.IDictionary{System.String,ComputerX.Controls.CxDesired} = null optionalposition: 2
Per-control desired value overrides keyed by anchor.

Methods

public static CxComplianceProfile For(CxVendor vendor, params CxVendor[] fallbacks) #
Returns: CxComplianceProfile

Convenience factory for a simple vendor-only profile.

Parameters

vendor ComputerX.Controls.CxVendor requiredposition: 0
fallbacks ComputerX.Controls.CxVendor[] requiredposition: 1

Properties

public CxVendor Primary { get; } #

Primary vendor to follow (e.g., STIG, CIS, MSB, Custom).

public IReadOnlyList<CxVendor> Fallbacks { get; } #

Fallback vendors in order if the primary has no desired for a given control.

public IReadOnlyDictionary<String, CxDesired> Overrides { get; } #

Per-control overrides keyed by control Id (anchor) to replace the vendor values.