diff --git a/thehive/app/org/thp/thehive/controllers/v1/DescribeCtrl.scala b/thehive/app/org/thp/thehive/controllers/v1/DescribeCtrl.scala index 9f988d865e..337a079f8c 100644 --- a/thehive/app/org/thp/thehive/controllers/v1/DescribeCtrl.scala +++ b/thehive/app/org/thp/thehive/controllers/v1/DescribeCtrl.scala @@ -61,8 +61,9 @@ class DescribeCtrl @Inject() ( case class EntityDescription(label: String, initialQuery: String, attributes: Seq[PropertyDescription]) { def toJson: JsObject = Json.obj( - "label" -> label, - "attributes" -> (attributes ++ metadata) + "label" -> label, + "initialQuery" -> initialQuery, + "attributes" -> (attributes ++ metadata) ) }