Skip to content

Custom fields in Alerts? #635

Closed
Closed
@xme

Description

@xme

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)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions