MCPcopy Create free account
hub / github.com/blacklanternsecurity/bbot / setup

Method setup

bbot/modules/output/json.py:21–24  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

19 _preserve_graph = True
20
21 async def setup(self):
22 self._prep_output_dir("output.json")
23 self.siem_friendly = self.config.get("siem_friendly", False)
24 return True
25
26 async def handle_event(self, event):
27 event_json = event.json(siem_friendly=self.siem_friendly)

Callers

nothing calls this directly

Calls 2

_prep_output_dirMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected