MCPcopy Create free account
hub / github.com/adobe/Marinus / _init_vt

Method _init_vt

python3_cron_scripts/libs3/VirusTotal.py:45–54  ·  view source on GitHub ↗
(self, config)

Source from the content-addressed store, hash-verified

43 return logging.getLogger(__name__)
44
45 def _init_vt(self, config):
46 self.URL = ConnectorUtil.get_config_setting(
47 self._logger, config, "VirusTotal", "virustotal.url"
48 )
49 self.PRIVATE_APIKEY = ConnectorUtil.get_config_setting(
50 self._logger, config, "VirusTotal", "virustotal.apikey"
51 )
52 self.PUBLIC_APIKEY = ConnectorUtil.get_config_setting(
53 self._logger, config, "VirusTotal", "virustotal.public_apikey"
54 )
55
56 def __init__(self, config_file="", key="public", log_level=None):
57 if config_file != "":

Callers 1

__init__Method · 0.95

Calls 1

get_config_settingMethod · 0.80

Tested by

no test coverage detected