You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having the exact same issue on 5.8.7. Likely related to this change which replaced the deprecated term method_whitelist with allowed_methods
Full error below - reproduced by attempting to enrich an IP but an identical error is thrown for hashes as well (get_ip_info is swapped out for the method which handles hashes):-
File "/usr/local/lib/python3.11/site-packages/pycti/connector/opencti_connector_helper.py", line 235, in _process_message
json_data["internal"]["work_id"], message_task.result()
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/opt/opencti-connector-virustotal/virustotal/virustotal.py", line 365, in _process_message
return self._process_ip(observable)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/opencti-connector-virustotal/virustotal/virustotal.py", line 228, in _process_ip
json_data = self.client.get_ip_info(observable["observable_value"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/opencti-connector-virustotal/virustotal/client.py", line 201, in get_ip_info
return self._query(url)
^^^^^^^^^^^^^^^^
File "/opt/opencti-connector-virustotal/virustotal/client.py", line 51, in _query
retry_strategy = Retry(
^^^^^^
TypeError: Retry.__init__() got an unexpected keyword argument 'method_whitelist'
Description
When I try to perform a manual or automated enrichment with the VirusTotal internal enrichment, it partially fails.
It doesn't collect labels and other values...but it seems to know it came from VT? When looking at the connector, it has this error.
I don't know if it's related to this Issue based on this comment
Environment
8.5.7
Reproducible Steps
Steps to create the smallest reproducible scenario:
Similar things happen if I use the hash and manually create a File entity.
Expected Output
Add the VT enrichment data.
Actual Output
Stated above
Additional information
I've tried to restart the VT connector, clear the state, etc.
I'm not sure what version the VT connector is at (not sure how to check that).
The text was updated successfully, but these errors were encountered: