Giter Site home page Giter Site logo

projektfach-hs-nr_ws2019-20's Introduction

projektfach-hs-nr_ws2019-20's People

Contributors

avitg avatar

Watchers

 avatar  avatar

projektfach-hs-nr_ws2019-20's Issues

TheHive Änderungen

Die Service Datei /usr/lib/systemd/system/thehive.service anpassen und durch diese Inhalt ersetzen

[Unit]
Description=TheHive
Documentation=https://thehive-project.org
Wants=network-online.target
After=network-online.target

[Service]
WorkingDirectory=/opt/thehive

User=thehive
Group=thehive

ExecStart=/opt/thehive/bin/thehive \
	-Dconfig.file=/etc/thehive/application.conf \
	-Dlogger.file=/etc/thehive/logback.xml \
	-Dpidfile.path=/var/run/thehive/pid

StandardOutput=journal
StandardError=inherit

# Specifies the maximum file descriptor number that can be opened by this process
LimitNOFILE=65536

# Disable timeout logic and wait until process is stopped
TimeoutStopSec=0

# SIGTERM signal is used to stop the Java process
KillSignal=SIGTERM

# Java process is never killed
SendSIGKILL=no

# When a JVM receives a SIGTERM signal it exits with code 143
SuccessExitStatus=143

[Install]
WantedBy=multi-user.target

Sollte der Ordner /var/run/thehive/ nicht exestieren erzeugen mkdir /var/run/thehive/ und den Besitzer ändern mit chown thehive:thehive /var/run/thehive/

Nicht vergessen den Secret key zu erzeugen siehe Anleitung https://github.com/TheHive-Project/TheHiveDocs/blob/master/installation/install-guide.md#5-first-start

(cat << _EOF_
# Secret key
# ~~~~~
# The secret key is used to secure cryptographics functions.
# If you deploy your application to several instances be sure to use the same key!
play.http.secret.key="$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 64 | head -n 1)"
_EOF_
) | sudo tee -a /etc/thehive/application.conf

Optional kann das init.d Script noch angepasst werden sollte dadürber der Dienst gestartet werden, liegt in /etc/init.d/thehive
Ganz oben die ersten Zeilen die so ähnlich aussen ändern

NAME=thehive
DAEMON=/opt/thehive/bin/thehive
PIDFILE=/var/run/thehive/pid
DAEMON_USER=thehive
DAEMON_ARGS="-Dconfig.file=/etc/thehive/application.conf -Dlogger.file=/etc/thehive/logback.xml -Dpidfile.path=/var/run/thehive/pid"
PATH=/sbin:/bin:/usr/sbin:/usr/bin

Damit beim Reboot der Order /var/run/thehive automatisch erzeugt wird muss eine Datei /usr/lib/tmpfiles.d/thehive.conf mit folgendem Inhalt erzeugt werden

 #Type Path            Mode UID      GID    Age Argument
 d     /run/thehive   0755 thehive thehive   -   -

Cortex

create an org_admin and log in to the org as this admin, you will see the analyzers...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.