Skip to content

Commit

Permalink
Update to Scirius 3.1.0
Browse files Browse the repository at this point in the history
Initial work done on the task, some adjustements may be needed.
  • Loading branch information
regit committed Dec 28, 2018
1 parent c705c45 commit a40d40c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 8 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM debian:latest

ENV VERSION 1.2.8
ENV VERSION 3.1.0
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y wget python-pip python-dev git gcc gunicorn tcpdump gnupg2
ADD stamus-packages.list /etc/apt/sources.list.d/
Expand All @@ -9,6 +9,7 @@ RUN wget -O stamus.key -q http://packages.stamus-networks.com/packages.stamus-ne
RUN apt-key add stamus.key
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y suricata
RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y -t stretch-backports npm
RUN wget https://github.com/StamusNetworks/scirius/archive/scirius-${VERSION}.tar.gz
RUN mkdir -p /opt/selks/sciriusdata
WORKDIR /opt/selks
Expand All @@ -25,5 +26,11 @@ ADD kibana/reset_dashboards.sh /opt/selks/bin/
RUN chmod ugo+x /opt/selks/bin/reset_dashboards.sh
RUN git clone https://github.com/StamusNetworks/KTS.git /opt/kibana-dashboards/
RUN pip install elasticsearch-curator
RUN npm install -g npm@latest [email protected]
RUN npm install
WORKDIR /opt/selks/scirius/hunt
RUN npm install
RUN npm run build
WORKDIR /opt/selks/scirius

ENTRYPOINT ["/opt/selks/bin/scirius.sh"]
3 changes: 2 additions & 1 deletion stamus-packages.list
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
deb http://packages.stamus-networks.com/debian/ stretch main
deb http://packages.stamus-networks.com/selks5/debian/ stretch main
deb http://ftp.debian.org/debian stretch-backports main

0 comments on commit a40d40c

Please sign in to comment.