From ac87814efbd510420386a18db96ac6147ebb39f2 Mon Sep 17 00:00:00 2001 From: To-om Date: Mon, 19 Oct 2020 16:48:05 +0200 Subject: [PATCH] #1541 Add the field "number" in case (v1) --- thehive/app/org/thp/thehive/controllers/v1/Properties.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/thehive/app/org/thp/thehive/controllers/v1/Properties.scala b/thehive/app/org/thp/thehive/controllers/v1/Properties.scala index 8358cc96d7..608c62cd71 100644 --- a/thehive/app/org/thp/thehive/controllers/v1/Properties.scala +++ b/thehive/app/org/thp/thehive/controllers/v1/Properties.scala @@ -98,6 +98,7 @@ class Properties @Inject() ( .property("severity", UMapping.int)(_.field.updatable) .property("startDate", UMapping.date)(_.field.updatable) .property("endDate", UMapping.date.optional)(_.field.updatable) + .property("number", UMapping.int)(_.field.readonly) .property("tags", UMapping.string.set)( _.select(_.tags.displayName) .custom { (_, value, vertex, _, graph, authContext) =>