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

Error 500 in TheHive when a job is submited to Cortex #27

Closed
To-om opened this Issue May 19, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@To-om
Copy link
Contributor

To-om commented May 19, 2017

Request Type

Bug

Work Environment

Question Answer
Cortex version 1.1.1
Package Type any

Problem Description

When a job is submitted, Cortex returns the created job, serialized in JSON. The serializer uses wrong format (attributes used are not correct). This makes TheHive raise JsResultException.

Complementary information

The error is introduced by commit 9f8f1eb in file app/models/JsonFormat.scala.

@To-om To-om added the bug label May 19, 2017

@To-om To-om self-assigned this May 19, 2017

@To-om To-om added this to the 1.1.2 milestone May 19, 2017

To-om added a commit that referenced this issue May 19, 2017

@To-om To-om closed this May 19, 2017

ecapuano added a commit to ecapuano/Cortex-Analyzers that referenced this issue May 21, 2017

corrected for change to fortiguard portal
Scraping is unreliable at times, especially when the vendor changes the URL parameters... ¯\_(ツ)_/¯

Was only able to test this locally due to my dev environment being affected by TheHive-Project/Cortex#27 , but it appears to be functional once again. Let me know if there are any other issues with it, I promise to take less than 27 days to fix it :)

nadouani added a commit that referenced this issue May 24, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.