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

Method __init__

compliance_report.py:35–38  ·  view source on GitHub ↗
(self, shared_data=None, db=None)

Source from the content-addressed store, hash-verified

33 """Builds CIS and PCI compliance views from data Ragnar already collects."""
34
35 def __init__(self, shared_data=None, db=None):
36 self.shared_data = shared_data
37 self.db = db or getattr(shared_data, "db", None)
38 self.mappings = self._load_mappings()
39
40 def _load_mappings(self) -> Dict[str, Any]:
41 try:

Callers

nothing calls this directly

Calls 1

_load_mappingsMethod · 0.95

Tested by

no test coverage detected