Cortex-Analyzers
Cortex-Analyzers copied to clipboard
[Bug] CrowdSec Analyzer: requests module missing
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:
- enable crowdsec analyzer
- 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
- Client OS: fedora linux
- Server OS: fedora linux / docker install
- Browse type and version: firefox 118.0.1 (64-bit)
- Cortex version:
- Cortex Analyzer/Responder name: CrowdSec Analyzer
- Cortex Analyzer/Responder version: 1.0
Possible solutions If applicable, indicate possible solutions to the problem.
Additional context Add any other context about the problem here.
Linked to #1224