-
Notifications
You must be signed in to change notification settings - Fork 633
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1348 Include parent objects in responder request
- Loading branch information
Showing
2 changed files
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
cortex/connector/src/main/scala/org/thp/thehive/connector/cortex/services/package.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package org.thp.thehive.connector.cortex | ||
|
||
import org.thp.scalligraph.steps.StepsOps._ | ||
import org.thp.thehive.connector.cortex.models.ObservableJob | ||
import org.thp.thehive.services.ObservableSteps | ||
|
||
package object services { | ||
implicit class RichObservableSteps(observableSteps: ObservableSteps) { | ||
def jobs: JobSteps = new JobSteps(observableSteps.outTo[ObservableJob].raw)(observableSteps.db, observableSteps.graph) | ||
} | ||
} |