Skip to content

Commit

Permalink
#1766 Added parent query property
Browse files Browse the repository at this point in the history
  • Loading branch information
rriclet committed Feb 3, 2021
1 parent 2bb2618 commit a1081e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions thehive/app/org/thp/thehive/controllers/v1/Properties.scala
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import org.thp.thehive.services.CustomFieldOps._
import org.thp.thehive.services.LogOps._
import org.thp.thehive.services.ObservableOps._
import org.thp.thehive.services.OrganisationOps._
import org.thp.thehive.services.PatternOps._
import org.thp.thehive.services.ShareOps._
import org.thp.thehive.services.TagOps._
import org.thp.thehive.services.TaskOps._
Expand Down Expand Up @@ -353,6 +354,7 @@ class Properties @Inject() (
.property("remoteSupport", UMapping.boolean)(_.field.readonly)
.property("systemRequirements", UMapping.string.sequence)(_.field.readonly)
.property("version", UMapping.string.optional)(_.field.readonly)
.property("parent", UMapping.string.optional)(_.select(_.parent.value(_.patternId)).readonly)
.build

lazy val procedure: PublicProperties =
Expand Down

0 comments on commit a1081e8

Please sign in to comment.