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

Cortex Responder - "thehive:log" datatype #343

Closed
Amidala95 opened this issue Sep 12, 2018 · 2 comments
Closed

Cortex Responder - "thehive:log" datatype #343

Amidala95 opened this issue Sep 12, 2018 · 2 comments

Comments

@Amidala95
Copy link

Amidala95 commented Sep 12, 2018

TheHive does not recognize "thehive:log" datatype. For testing I wrote exactly the same code as there (thanks jordisk), but without success.

Some lines of code are different.
Json file:

...
"dataTypeList": ["thehive:log"],
...

The code:

...
msg = self.get_param('data.message', None, 'message is missing')
if self.data_type == 'thehive:log':
   self.report({'message': 'messageOK'})
else:
   self.error('Invalid dataType')
...

Responder is detected by cortex. Works well with other datatypes.

What am I doing wrong?

@nadouani
Copy link
Contributor

Hello, please use the thehive:case_task_log instead.

@Amidala95
Copy link
Author

@nadouani, thank you for quick answer!

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

2 participants