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] MISP_2_1 analyzer #1249

Closed
mickey67890 opened this issue Feb 18, 2024 · 1 comment
Closed

[Bug] MISP_2_1 analyzer #1249

mickey67890 opened this issue Feb 18, 2024 · 1 comment

Comments

@mickey67890
Copy link

mickey67890 commented Feb 18, 2024

Hello everyone, I'm using the MISP_2_1 Analyzer from the Cortex to search for an IP in the MISP database but it failed.

image

Then I found this error:

image

I think the main reason is this one:
warnings.warn(
Something went wrong (400): {'name': 'Restsearch queries using GET and no parameters are not allowed. If you have passed parameters via a JSON body, make sure you use POST requests.', 'message': 'Restsearch queries using GET and no parameters are not allowed. If you have passed parameters via a JSON body, make sure you use POST requests.', 'url': '/events/restSearch'}

Is there anyway to change the GET to POST request when running MISP_2_1 analyzer in Cortex? Thanks!

Work environment
Cortex : version 3.1.7 running on docker compose
OS: Windows 11
Browser: Chrome

MISP: verion 2.4.184 running on docker compose
OS: Linux Ubuntu 23.04
Browser: Firefox

@mickey67890
Copy link
Author

mickey67890 commented Feb 25, 2024

I rechecked the misp url in Cortex and found that it was http[:]//xxx[.]xxx[.]xxx[.]xxx instead of https. So, I edited as https[:]//xxx[.]xxx[.]xxx[.]xxx and it worked

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

1 participant