(self, config)
| 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 != "": |
no test coverage detected