Skip to content

Instantly share code, notes, and snippets.

@ninoseki
Last active October 11, 2018 03:34
Show Gist options
  • Save ninoseki/598d5087f2ac9a06c1b2f31f915f14ee to your computer and use it in GitHub Desktop.
Save ninoseki/598d5087f2ac9a06c1b2f31f915f14ee to your computer and use it in GitHub Desktop.
TheHive & Cortex update guide

TheHive & Cortex update guide

This is a TheHive & Crotex update guide for targeting following versions:

  • TheHive: 3.0.10 to 3.1.1.
  • Cortex: 2.0.4 to 2.1.1.

Update packages

echo 'deb https://dl.bintray.com/thehive-project/debian-stable any main' | sudo tee -a /etc/apt/sources.list.d/thehive-project.list
sudo apt-key adv --keyserver hkp://pgp.mit.edu --recv-key 562CBC1C
sudo apt-get update

sudo apt-get install thehive
# Configuration file '/etc/thehive/application.conf'
#  ==> Modified (by you or by a script) since installation.
#  ==> Package distributor has shipped an updated version.
#    What would you like to do about it ?  Your options are:
#     Y or I  : install the package maintainer's version
#     N or O  : keep your currently-installed version
#       D     : show the differences between the versions
#       Z     : start a shell to examine the situation
#  The default action is to keep your current version.
# *** application.conf (Y/I/N/O/D/Z) [default=N] ? N

sudo apt-get install cortex
sudo systemctl daemon-reload
sudo systemctl restart cortex
sudo systemctl restart thehive

Update databases

  • Access to your Cortex Web interface and update the database.

Imgur

  • Access to your ThieHive Web interface and update the database.

Imgur

Done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment