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

Custom fields in Alerts? #635

Closed
3 of 4 tasks
xme opened this issue Jul 9, 2018 · 2 comments
Closed
3 of 4 tasks

Custom fields in Alerts? #635

xme opened this issue Jul 9, 2018 · 2 comments

Comments

@xme
Copy link

xme commented Jul 9, 2018

Request Type

Feature Request

Work Environment

Question Answer
OS version (server) Ubuntu
OS version (client) Ubuntu
TheHive version / git hash 3.0.9
Package Type Docker
Browser type & version n/a

Problem Description

I would like to use custom fields within alerts (and populate them when the alert is created) via the API.
Is it possible? I can assign custom fields to case templates but how to populate them from the alert?
I'm a bit confused... Tx!

Solution and tasks

  • Update the data model to add the customFields attribute to Alert doc type
  • Add the data migration code
  • Update the Alert preview dialog to display the custom fields
  • Update the case creation for alert to copy the custom fields into the case (c/o @To-om)
@nadouani
Copy link
Contributor

Hello @xme

Alerts currently don't have custom fields, but what you said is totally valid.
We will try to include this FR into 3.1.0 release.

Thanks

@xme
Copy link
Author

xme commented Jul 10, 2018

Tx! Crossing fingers for a quick implementation ;-)

@To-om To-om added this to the 3.1.0 (Cerana 1) milestone Jul 11, 2018
To-om added a commit that referenced this issue Jul 11, 2018
nadouani added a commit that referenced this issue Jul 18, 2018
@nadouani nadouani removed their assignment Jul 18, 2018
To-om added a commit that referenced this issue Jul 25, 2018
@To-om To-om closed this as completed Jul 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants