From 7125db1cc9945244f3b625c6c97f075bbcbaa217 Mon Sep 17 00:00:00 2001 From: Nabil Adouani Date: Sun, 8 Nov 2020 08:20:58 +0100 Subject: [PATCH] #1625 Add ignoreSimilarity to descrive v1 API --- 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 45f59c1313..f435c9b3d3 100644 --- a/thehive/app/org/thp/thehive/controllers/v1/Properties.scala +++ b/thehive/app/org/thp/thehive/controllers/v1/Properties.scala @@ -345,6 +345,7 @@ class Properties @Inject() ( .property("startDate", UMapping.date)(_.select(_._createdAt).readonly) .property("ioc", UMapping.boolean)(_.field.updatable) .property("sighted", UMapping.boolean)(_.field.updatable) + .property("ignoreSimilarity", UMapping.boolean)(_.field.updatable) .property("tags", UMapping.string.set)( _.select(_.tags.displayName) .filter((_, cases) =>