Skip to content

Commit

Permalink
#1625 Fix similarity when several observables match
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Nov 20, 2020
1 parent c89cdf2 commit 1b57282
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions thehive/app/org/thp/thehive/services/AlertSrv.scala
Original file line number Diff line number Diff line change
Expand Up @@ -417,10 +417,9 @@ object AlertOps {
)
.by(
_.selectValues
.unfold
.project(
_.by(_.groupCount(_.byValue(_.ioc)))
.by(_.groupCount(_.by(_.typeName)))
_.by(_.unfold.groupCount(_.byValue(_.ioc)))
.by(_.unfold.groupCount(_.by(_.typeName)))
)
)
)
Expand Down

0 comments on commit 1b57282

Please sign in to comment.