-
Notifications
You must be signed in to change notification settings - Fork 640
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conflicts: CHANGELOG.md thehive-backend/app/models/Alert.scala
- Loading branch information
Showing
21 changed files
with
255 additions
and
217 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
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 |
---|---|---|
|
@@ -49,6 +49,7 @@ lazy val rpmPackageRelease = (project in file("package/rpm-release")) | |
)) | ||
) | ||
|
||
|
||
Release.releaseVersionUIFile := baseDirectory.value / "ui" / "package.json" | ||
Release.changelogFile := baseDirectory.value / "CHANGELOG.md" | ||
|
||
|
@@ -79,31 +80,39 @@ mappings in Universal ~= { | |
maintainer := "TheHive Project <[email protected]>" | ||
packageSummary := "Scalable, Open Source and Free Security Incident Response Solutions" | ||
packageDescription := | ||
"""TheHive is a scalable 3-in-1 open source and free security incident response platform designed to make life easier | ||
| for SOCs, CSIRTs, CERTs and any information security practitioner dealing with security incidents that need to be | ||
| investigated and acted upon swiftly.""".stripMargin | ||
"""TheHive is a scalable 3-in-1 open source and free security incident response | ||
| platform designed to make life easier for SOCs, CSIRTs, CERTs and any | ||
| information security practitioner dealing with security incidents that need to | ||
| be investigated and acted upon swiftly.""".stripMargin | ||
defaultLinuxInstallLocation := "/opt" | ||
linuxPackageMappings ~= { | ||
_.map { pm => | ||
val mappings = pm.mappings.filterNot { | ||
case (_, path) => path.startsWith("/opt/thehive/package") || path.startsWith("/opt/thehive/conf") | ||
} | ||
com.typesafe.sbt.packager.linux.LinuxPackageMapping(mappings, pm.fileData).withConfig() | ||
} :+ packageMapping( | ||
file("package/thehive.service") -> "/etc/systemd/system/thehive.service", | ||
com.typesafe.sbt.packager.linux.LinuxPackageMapping(mappings, pm.fileData) | ||
} | ||
} | ||
linuxPackageMappings ++= Seq( | ||
packageMapping( | ||
file("package/thehive.service") -> "/usr/lib/systemd/system/thehive.service" | ||
).withPerms("644"), | ||
packageMapping( | ||
file("package/thehive.conf") -> "/etc/init/thehive.conf", | ||
file("package/thehive") -> "/etc/init.d/thehive", | ||
file("conf/application.sample") -> "/etc/thehive/application.conf", | ||
file("conf/logback.xml") -> "/etc/thehive/logback.xml" | ||
).withConfig() | ||
} | ||
).withPerms("644").withConfig(), | ||
packageMapping( | ||
file("package/thehive") -> "/etc/init.d/thehive" | ||
).withPerms("755").withConfig()) | ||
|
||
packageBin := { | ||
(packageBin in Universal).value | ||
(packageBin in Debian).value | ||
(packageBin in Rpm).value | ||
} | ||
// DEB // | ||
linuxPackageMappings in Debian += packageMapping(file("LICENSE") -> "/usr/share/doc/thehive/copyright").withPerms("644") | ||
version in Debian := version.value + "-1" | ||
debianPackageRecommends := Seq("elasticsearch") | ||
debianPackageDependencies += "openjdk-8-jre-headless" | ||
|
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
This file was deleted.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.