API Reference
Class
CisBenchmarkSourceCatalog
Routes product-neutral import and inventory requests to current integrity-pinned CIS source catalogs.
Inheritance
- Object
- CisBenchmarkSourceCatalog
Methods
public static BenchmarkSourceDescriptor GetById(String id) #Returns:
BenchmarkSourceDescriptorGets one exact source from the current integrity-pinned allow-list.
Parameters
- id System.String
GetCurrent 4 overloads
public static IReadOnlyList<BenchmarkSourceDescriptor> GetCurrent(BenchmarkProductFamily family, String productVersion) #Returns:
IReadOnlyList<BenchmarkSourceDescriptor>Gets current sources for one supported product family and generation.
Parameters
- family TestimoX.Benchmarks.BenchmarkProductFamily
- productVersion System.String
public static IReadOnlyList<BenchmarkSourceDescriptor> GetCurrent(BenchmarkProductFamily family, String productVersion, BenchmarkProductVariant productVariant) #Returns:
IReadOnlyList<BenchmarkSourceDescriptor>Gets current sources for one supported product family, generation, and variant.
Parameters
- family TestimoX.Benchmarks.BenchmarkProductFamily
- productVersion System.String
- productVariant TestimoX.Benchmarks.BenchmarkProductVariant
public static IReadOnlyList<BenchmarkSourceDescriptor> GetCurrent(BenchmarkProductFamily family) #Returns:
IReadOnlyList<BenchmarkSourceDescriptor>Gets current sources for every supported generation in one product family.
Parameters
- family TestimoX.Benchmarks.BenchmarkProductFamily
public static IReadOnlyList<BenchmarkSourceDescriptor> GetCurrent(BenchmarkProductFamily family, BenchmarkProductVariant productVariant) #Returns:
IReadOnlyList<BenchmarkSourceDescriptor>Gets current sources for every supported generation of one product family and variant.
Parameters
- family TestimoX.Benchmarks.BenchmarkProductFamily
- productVariant TestimoX.Benchmarks.BenchmarkProductVariant
public static BenchmarkProductVariant GetDefaultProductVariant(BenchmarkProductFamily family) #Returns:
BenchmarkProductVariantGets the default variant for a product family.
Parameters
- family TestimoX.Benchmarks.BenchmarkProductFamily
public static String GetDefaultProductVersion(BenchmarkProductFamily family) #Returns:
StringGets the default generation for a product family.
Parameters
- family TestimoX.Benchmarks.BenchmarkProductFamily
public static IReadOnlyList<BenchmarkCatalogProduct> GetSupportedProducts() #Returns:
IReadOnlyList<BenchmarkCatalogProduct>Gets the immutable current product and benchmark inventory.
public static Boolean TryGetProductFamily(BenchmarkPack pack, out BenchmarkProductFamily family) #Returns:
BooleanTries to classify one imported pack into a supported product family.
Parameters
- pack TestimoX.Benchmarks.BenchmarkPack
- family TestimoX.Benchmarks.BenchmarkProductFamily@