From a97383702a51729135e87a255f942e04f73d49c8 Mon Sep 17 00:00:00 2001 From: To-om Date: Fri, 5 Mar 2021 13:00:27 +0100 Subject: [PATCH] #1670 Add tag in describe --- thehive/app/org/thp/thehive/controllers/v1/DescribeCtrl.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/thehive/app/org/thp/thehive/controllers/v1/DescribeCtrl.scala b/thehive/app/org/thp/thehive/controllers/v1/DescribeCtrl.scala index f8ecbbb28c..bbbe63fba3 100644 --- a/thehive/app/org/thp/thehive/controllers/v1/DescribeCtrl.scala +++ b/thehive/app/org/thp/thehive/controllers/v1/DescribeCtrl.scala @@ -115,6 +115,7 @@ class DescribeCtrl @Inject() ( EntityDescription("pattern", "listPattern", patternCtrl.publicProperties.list.flatMap(propertyToJson("pattern", _))), EntityDescription("procedure", "listProcedure", procedureCtrl.publicProperties.list.flatMap(propertyToJson("procedure", _))), EntityDescription("profile", "listProfile", profileCtrl.publicProperties.list.flatMap(propertyToJson("profile", _))), + EntityDescription("tag", "listTag", tagCtrl.publicProperties.list.flatMap(propertyToJson("tag", _))), EntityDescription("task", "listTask", taskCtrl.publicProperties.list.flatMap(propertyToJson("task", _))), EntityDescription("taxonomy", "listTaxonomy", taxonomyCtrl.publicProperties.list.flatMap(propertyToJson("taxonomy", _))), EntityDescription("user", "listUser", userCtrl.publicProperties.list.flatMap(propertyToJson("user", _)))