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

[Bug] IBM X-Force Analyzer adds an extra slash which prevents it from running correctly #487

Closed
saadkadhi opened this issue May 30, 2019 · 1 comment
Assignees
Labels
category:bug Issue is related to a bug

Comments

@saadkadhi
Copy link
Contributor

Describe the bug
As originally reported by @csoc49 in the Cortex repository:

Hy,

we have a problem by connecting to the IBM X-Force API.
We always get a 401 API error.

We use these URL https://api.xforce.ibmcloud.com/ and take our API-Key and pwd in the Cortex configuration. Is there anybody with an idea??

:-/

Complementary information
@ssstonebraker reported the following:

Hey i figured out how to fix this. I had the same problem and spent a couple hours figuring it out

I kept receiving an "API error" when attempting to run TheHive Project Cortex Analyzer for IBM Xforce.

There is currently a bug that is adding an extra / with every request.

To fix this issue you need to modify this file:

/opt/Cortex-Analyzers/analyzers/IBMXForce/ibmxforce_lookup.py

Command to fix the problem:

perl -pi -e 's|%s/|%s|g' /opt/Cortex-Analyzers/analyzers/IBMXForce/ibmxforce_lookup.py

source:

https://brakertech.com/thehive-project-cortex-ibm-xforce-analyzer-is-not-working/

@ayounes2024
Copy link

hi team, i run the command but still issue exist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:bug Issue is related to a bug
Projects
None yet
Development

No branches or pull requests

3 participants