Skip to content

Commit

Permalink
Merge pull request #2077 from vdebergue/fix/2058-misp-add-tag-src
Browse files Browse the repository at this point in the history
#2058 Fix missing tag when importing alerts from misp
  • Loading branch information
To-om authored Jun 11, 2021
2 parents e3ab26f + 8bf9dd7 commit ebd7be3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class MispImportSrv @Inject() (
read = false,
follow = true,
organisationId = organisationId,
tags = event.tags.map(_.name),
tags = s"src:${event.orgc}" +: event.tags.map(_.name),
caseId = EntityId.empty
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class MispImportSrvTest(implicit ec: ExecutionContext) extends PlaySpecification
pap = 2,
read = false,
follow = true,
tags = Seq("TH-test", "TH-test-2"),
tags = Seq("src:ORGNAME", "TH-test", "TH-test-2"),
organisationId = alert.organisationId,
caseId = EntityId.empty
)
Expand Down

0 comments on commit ebd7be3

Please sign in to comment.