TheHive-Project / Cortex-Analyzers

Cortex Analyzers Repository
https://TheHive-Project.github.io/Cortex-Analyzers/
GNU Affero General Public License v3.0
431 stars 374 forks source link

[Bug] CrowdSec Analyzer: requests module missing #1227

Closed ebdavison closed 6 months ago

ebdavison commented 11 months ago

Describe the bug Running crowdsec analyzer results in an error.

Error:

Traceback (most recent call last):
  File "/worker/Crowdsec/crowdsec_analyzer.py", line 4, in <module>
    from crowdsec_api import Crowdsec
  File "/worker/Crowdsec/crowdsec_api.py", line 2, in <module>
    from requests.compat import urljoin
ModuleNotFoundError: No module named 'requests'

To Reproduce Steps to reproduce the behavior:

  1. enable crowdsec analyzer
  2. run crowdsec analyzer

Expected behavior Proper results from the use of the crowdsec analyzer

Complementary information If applicable, add screenshots and any additional information that might help explain your problem.

Work environment

Possible solutions If applicable, indicate possible solutions to the problem.

Additional context Add any other context about the problem here.

LaurenceJJones commented 11 months ago

Linked to #1224