Commit c363609 1 parent f36b141 commit c363609 Copy full SHA for c363609
File tree 6 files changed +13
-12
lines changed
6 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 1
1
name := " TheHive"
2
2
3
3
lazy val thehiveBackend = (project in file(" thehive-backend" ))
4
+ .enablePlugins(PlayScala )
4
5
.settings(publish := {})
5
6
6
7
lazy val thehiveMetrics = (project in file(" thehive-metrics" ))
8
+ .enablePlugins(PlayScala )
7
9
.dependsOn(thehiveBackend)
8
10
.settings(publish := {})
9
11
10
12
lazy val thehiveMisp = (project in file(" thehive-misp" ))
13
+ .enablePlugins(PlayScala )
11
14
.dependsOn(thehiveBackend)
12
15
.settings(publish := {})
13
16
14
17
lazy val thehiveCortex = (project in file(" thehive-cortex" ))
18
+ .enablePlugins(PlayScala )
15
19
.dependsOn(thehiveBackend)
16
20
.settings(publish := {})
17
21
.settings(SbtScalariform .scalariformSettings: _* )
@@ -26,6 +30,11 @@ lazy val thehive = (project in file("."))
26
30
.settings(PublishToBinTray .settings: _* )
27
31
.settings(Release .settings: _* )
28
32
33
+
34
+ // Redirect logs from ElasticSearch (which uses log4j2) to slf4j
35
+ libraryDependencies += " org.apache.logging.log4j" % " log4j-to-slf4j" % " 2.9.0"
36
+ excludeDependencies += " org.apache.logging.log4j" % " log4j-core"
37
+
29
38
lazy val rpmPackageRelease = (project in file(" package/rpm-release" ))
30
39
.enablePlugins(RpmPlugin )
31
40
.settings(
Original file line number Diff line number Diff line change @@ -3,14 +3,11 @@ package services
3
3
import javax .inject .{ Inject , Singleton }
4
4
5
5
import scala .collection .immutable
6
- import scala .concurrent .{ ExecutionContext , Future }
7
- import scala .util .{ Failure , Success }
6
+ import scala .concurrent .ExecutionContext
8
7
9
- import play .api .mvc .RequestHeader
10
8
import play .api .{ Configuration , Logger }
11
9
12
- import org .elastic4play .AuthenticationError
13
- import org .elastic4play .services .{ AuthContext , AuthSrv }
10
+ import org .elastic4play .services .AuthSrv
14
11
import org .elastic4play .services .auth .MultiAuthSrv
15
12
16
13
object TheHiveAuthSrv {
Original file line number Diff line number Diff line change @@ -12,4 +12,4 @@ libraryDependencies ++= Seq(
12
12
Library .reflections
13
13
)
14
14
15
- enablePlugins( PlayScala )
15
+ play.sbt.routes. RoutesKeys .routesImport -= " controllers.Assets.Asset "
Original file line number Diff line number Diff line change @@ -8,4 +8,3 @@ libraryDependencies ++= Seq(
8
8
Library .zip4j
9
9
)
10
10
11
- enablePlugins(PlayScala )
Original file line number Diff line number Diff line change @@ -14,5 +14,3 @@ libraryDependencies ++= Seq(
14
14
" io.dropwizard.metrics" % " metrics-ganglia" % " 3.1.2" ,
15
15
" info.ganglia.gmetric4j" % " gmetric4j" % " 1.0.10"
16
16
)
17
-
18
- enablePlugins(PlayScala )
Original file line number Diff line number Diff line change @@ -6,6 +6,4 @@ libraryDependencies ++= Seq(
6
6
Library .Play .ahc,
7
7
Library .zip4j,
8
8
Library .elastic4play
9
- )
10
-
11
- enablePlugins(PlayScala )
9
+ )
You can’t perform that action at this time.
0 commit comments