TheHive-Project / TheHive-Project/Cortex-Analyzers
[Bug] cannot import name 'Client' from 'vt'
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 490
- Forks
- 405
- Avg merge
- 2d 43m
- Merged PRs (30d)
- 8
Description
Describe the bug
Hi, i was updating (git pull) Cortex-Analyzers yesterday, and i wasn't able to run virustotal scanners.
To Reproduce
Steps to reproduce the behavior:
- git pull
- for I in analyzers/*/requirements.txt; do pip3 install -U -r $I || true; done
- getting error from vt-py --> cannot import name 'Client' from 'vt'
Work environment
- Client OS: Ubuntu
- Server OS: Ubuntu 20.04.4 LTS
- Browse type and version: Google Chrome
- Cortex version: 3.1.6-1
- Cortex Analyzer/Responder name: VirusTotal
- Cortex Analyzer/Responder version: VirusTotal
Additional context
Does anyone can help me to fix this issue?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the VirusTotal analyzer and the dependencies installed from analyzers/*/requirements.txt, focusing on the vt-py import that raises the error. Reproduce the reported installation and scanner run on Ubuntu; done means the VirusTotal scanner starts without the Client import failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100