-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] VirusTotal_GetReport does not work anymore #519
Comments
Check you have the file You probably won't have it, but it used to be there. Not sure it was removed from the developers intentionally or by accident, however, it's good it's no longer there. If the file is missing, reinstall VirusTotal API by running
|
Hi @github-pba You are right... thanks for your answer! The file is missing in my repo and no longer present in the VT folder in Github: The deletion is perhaps due to a Python version. It occured on 14/May. However, as jobs run into Docker containers, I'm not sure if I need to install the 'virustotal-api' into my server. I copied it from my dev server and pasted into my main one, granting relevant permissions. I still continue to troubleshoot the issue. |
I'm not familiar with docker, so I do not know how the docker installation is done and if the docker container already has the required python modules. I don't think so, because reading through the install docs tells me that the Analyzers are installed by cloning them from git. I don't think there is a cortex-analysers-container, but I might be wrong. During the installation, you should execute
This would install the required python modules Finally, all you have to do is to rerun these command to get |
Issue solved. Used in a Docker environment, it seems not mandatory to installed the 'virustotal-api' module using pip. Moreover, the error is definitively due to the missing file In case of need, the missing file is attached. Thanks to @github-pba for putting me on the right direction! Kind regards, |
Hi, After upgrading Cortex-Analyzers, I got a new error with "VirusTotal_GetReport_3_0" one. To fix it, I edited the file "virus_total_apis.py" and I commented the line #25; which is now: Regards, |
Are you running in docker? |
Yes I run a Docker with latest image. |
Describe the bug
Hi all,
I have TheHive & Cortex installed for months, using Docker:
I use the latest version of the repository "Cortex-Analyzer", downloaded through Github and using
git
.The "Cortex-Analyzer" is properly declared in my Docker-Compose file to load and use analyzers/responders from the filesystem and not from the Docker.
Suddendly, and for about 3 weeks, the "VirusTotal_GetReport_3_0" doesn't work anymore in my server configuration.
Each job results to the following error message:
Invalid output Traceback (most recent call last): File "VirusTotal/virustotal.py", line 7, in <module> from virus_total_apis import PublicApi as VirusTotalPublicApi ImportError: No module named virus_total_apis
Complementary information
Work environment
Possible solutions
Additional context
At this stage, I don't understand why only this analyzer fails and what check I could perform to fix the issue.
Thanks for your help if you have any idea to move forward.
Kind regards,
Julien
The text was updated successfully, but these errors were encountered: