TheHive-Project / TheHive-Project/Cortex
Missing FileInfo dependencies in Docker "withdeps"
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 1.6k
- Forks
- 264
- PR merge metrics
- No merged PRs in 30d
Description
Request Type
Bug
Work Environment
| Question | Answer |
|---|---|
| OS version (server) | CentOS |
| OS version (client) | 8 |
| Cortex version / git hash | 3.1.6-1 |
| Package Type | Docker (withdeps) |
Problem Description
The FileInfo analyzer raises an exception, claiming that the module "stringsifter" doesn't exist.
Traceback (most recent call last): File \"/opt/Cortex-Analyzers/analyzers/FileInfo/fileinfo_analyzer.py\
No module named 'stringsifter'",
Steps to Reproduce
Run a FileInfo analyzer from a freshly deployed Cortex container, which includes the dependencies.
Possible Solutions
From the Docker, run pip3 install -r /opt/Cortex-Analyzers/analyzers/FileInfo/requirements.txt to install several missing packages.
Complementary information
Then, the image should be saved and the configuration adapted in order to make the changes persistent.
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 Docker withdeps setup and /opt/Cortex-Analyzers/analyzers/FileInfo/requirements.txt, then reproduce the missing stringsifter error with a freshly deployed Cortex container. Check that the image includes the listed FileInfo dependencies persistently, and rerun the FileInfo analyzer to confirm it works without manual installation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100