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

Method configs

bbot/core/modules.py:262–268  ·  view source on GitHub ↗
(self, type=None)

Source from the content-addressed store, hash-verified

260 return preloaded
261
262 def configs(self, type=None):
263 configs = {}
264 if type is not None:
265 configs = {k: v for k, v in self._configs.items() if self.check_type(k, type)}
266 else:
267 configs = dict(self._configs)
268 return OmegaConf.create(configs)
269
270 def find_and_replace(self, **kwargs):
271 self.__preloaded = search_format_dict(self.__preloaded, **kwargs)

Callers 3

preloadMethod · 0.95
bbot_fixtures.pyFile · 0.80
clean_default_configFunction · 0.80

Calls 1

check_typeMethod · 0.95

Tested by

no test coverage detected