Skip to content
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

Invalid requirements in responder FalconCustomIOC requirements.txt #509

Closed
steoleary opened this issue Jul 5, 2019 · 2 comments
Closed

Comments

@steoleary
Copy link

Invalid requirements in FalconCustomIOC requirements.txt

Request Type

Bug

Work Environment

N/A

Question Answer
OS version (server) Ubuntu 18.04
Cortex Analyzer Name FalconCustomIOC
Cortex Analyzer Version 1.0
Cortex Version 3.0.0-RC3

Description

When installing the requirements for the analyzers on ubuntu 18.04 you get an error from pip like below:

ERROR: Could not find a version that satisfies the requirement traceback (from -r /opt/Cortex-Analyzers/responders/FalconCustomIOC/requirements.txt (line 2)) (from versions: none)
ERROR: No matching distribution found for traceback (from -r /opt/Cortex-Analyzers/responders/FalconCustomIOC/requirements.txt (line 2))

Looking at the requirements.txt it contains:
json
re
requests
traceback

Of these, only requests seems to work correctly

Steps to Reproduce

Install cortex on Ubuntu 18.04
Clone analyzers into /opt/Cortex-Analyzers

Install the requirements using:
for I in $(find /opt/Cortex-Analyzers -name 'requirements.txt'); do sudo -H pip2 install -U -r $I; done &&
for I in $(find /opt/Cortex-Analyzers -name 'requirements.txt'); do sudo -H pip3 install -U -r $I || true; done

Observe the errors regarding json, re and traceback

@ITServ-DE
Copy link
Contributor

You can safely ignore this error.

The requirements.txt lists json and re as required modules (which is true), but these are python builtins.

I will update the requirements and send a pull request for this.

@garanews
Copy link
Contributor

garanews commented Mar 5, 2020

Solved with #517

@garanews garanews closed this as completed Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants