Skip to content

Commit

Permalink
#320 Keep the alert date when creating a case from it
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Oct 20, 2017
1 parent 34bb3a6 commit b8fff06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion thehive-backend/app/services/AlertSrv.scala
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ class AlertSrv(
.set("severity", JsNumber(alert.severity()))
.set("tags", JsArray(alert.tags().map(JsString)))
.set("tlp", JsNumber(alert.tlp()))
.set("status", CaseStatus.Open.toString),
.set("status", CaseStatus.Open.toString)
.set("startDate", Json.toJson(alert.date())),
caseTemplate)
_ importArtifacts(alert, caze)
_ setCase(alert, caze)
Expand Down

0 comments on commit b8fff06

Please sign in to comment.