MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / build

Method build

compliance_report.py:333–339  ·  view source on GitHub ↗
(self, framework: str, host: Optional[str] = None,
              credentials: Optional[List[Dict[str, Any]]] = None)

Source from the content-addressed store, hash-verified

331 }
332
333 def build(self, framework: str, host: Optional[str] = None,
334 credentials: Optional[List[Dict[str, Any]]] = None) -> Dict[str, Any]:
335 if framework == "cis":
336 return self.build_cis_report(host=host)
337 if framework == "pci":
338 return self.build_pci_report(credentials=credentials)
339 raise ValueError(f"Unknown framework: {framework}")
340
341
342_STATUS_COLORS = {

Callers

nothing calls this directly

Calls 2

build_cis_reportMethod · 0.95
build_pci_reportMethod · 0.95

Tested by

no test coverage detected