API Reference
CrosswalkService
Resolves a TestimoX rule to vendor baselines and documentation sources (PingCastle/PurpleKnight) using inline mappings (WithCrosswalk) and/or CrosswalkCatalog JSON. Supplies models for reports/CLI. This service is implemented as a partial static class split across focused files.
Inheritance
- Object
- CrosswalkService
Methods
public static IReadOnlyList<GapItem> BaselineGaps() #IReadOnlyList<GapItem>Returns unreferenced baseline controls (present in vendor baselines but not used by any rule crosswalk).
public static RuleCrosswalkReport Build(String testimoRuleName) #RuleCrosswalkReportBuilds a crosswalk report for a rule including baseline matches, docs and coverage.
Parameters
- testimoRuleName System.String
public static IReadOnlyList<CrosswalkDocRow> BuildDocs(RuleCrosswalkReport report) #IReadOnlyList<CrosswalkDocRow>Builds related documentation rows (PingCastle/PurpleKnight) for a rule.
Parameters
- testimoRuleName System.String
BuildDocs(TestimoX.Baselines.Crosswalk.RuleCrosswalkReport report) #Builds related documentation rows (PingCastle/PurpleKnight) from an existing report.
Parameters
- report TestimoX.Baselines.Crosswalk.RuleCrosswalkReport
public static IReadOnlyList<CrosswalkMatchRow> BuildMatches(RuleCrosswalkReport report) #IReadOnlyList<CrosswalkMatchRow>Builds rows describing how each vendor control matched the rule.
Parameters
- testimoRuleName System.String
BuildMatches(TestimoX.Baselines.Crosswalk.RuleCrosswalkReport report) #Builds rows describing how each vendor control matched the rule from an existing report.
Parameters
- report TestimoX.Baselines.Crosswalk.RuleCrosswalkReport
public static CoverageRow Coverage(String ruleName) #CoverageRowComputes coverage glyphs by comparing the rule’s anchors with loaded baselines and docs.
Parameters
- ruleName System.String
public static IReadOnlyList<GapItem> DocGaps() #IReadOnlyList<GapItem>Returns unreferenced documentation entries (PingCastle/PurpleKnight) not referenced by any rule crosswalk.
GetDocTitle(System.String arg1, System.String arg2) #Resolve a human-friendly document title from typed enums/maps. Avoids runtime JSON.
Parameters
- arg1 System.String
- arg2 System.String
NormalizeUnifiedAnchorNoScope(System.String arg1) #Normalizes a unified anchor into a scope-less canonical form suitable for indexing.
Parameters
- arg1 System.String
public static Void WarmUp() #VoidPreloads crosswalk indexes so report generation does not pay the full cold-start cost at the end of a run. Safe to call multiple times.