finalize fatt support

This commit is contained in:
t3chn0m4g3 2019-06-04 14:21:35 +00:00
parent a87af2ce6a
commit 5e22afd10b
4 changed files with 13 additions and 7 deletions

View file

@ -1,5 +1,11 @@
# Changelog # Changelog
## 20190604
- **Finalize Fatt support**
- Build visualizations, searches, dashboards
- Rebuild index patterns
- Some finishing touches
## 20190601 ## 20190601
- **Start supporting Fatt, remove Glastopf** - **Start supporting Fatt, remove Glastopf**
- Build Dockerfile, Adjust logstash, installer, update and such. - Build Dockerfile, Adjust logstash, installer, update and such.

View file

@ -1,8 +1,8 @@
FROM alpine FROM alpine
#
# Include dist # Include dist
#ADD dist/ /root/dist/ #ADD dist/ /root/dist/
#
# Get and install dependencies & packages # Get and install dependencies & packages
RUN apk -U add \ RUN apk -U add \
git \ git \
@ -11,11 +11,11 @@ RUN apk -U add \
python3 \ python3 \
python3-dev && \ python3-dev && \
apk -U add tshark --repository http://dl-3.alpinelinux.org/alpine/edge/community/ && \ apk -U add tshark --repository http://dl-3.alpinelinux.org/alpine/edge/community/ && \
#
# Setup user # Setup user
addgroup -g 2000 fatt && \ addgroup -g 2000 fatt && \
adduser -S -s /bin/ash -u 2000 -D -g 2000 fatt && \ adduser -S -s /bin/ash -u 2000 -D -g 2000 fatt && \
#
# Install fatt # Install fatt
mkdir -p /opt && \ mkdir -p /opt && \
cd /opt && \ cd /opt && \
@ -24,16 +24,16 @@ RUN apk -U add \
mkdir -p log && \ mkdir -p log && \
pip3 install --upgrade pip && \ pip3 install --upgrade pip && \
pip3 install pyshark==0.4.2.2 && \ pip3 install pyshark==0.4.2.2 && \
#
# Setup configs # Setup configs
chown fatt:fatt -R /opt/fatt/* && \ chown fatt:fatt -R /opt/fatt/* && \
#
# Clean up # Clean up
apk del --purge git \ apk del --purge git \
python3-dev && \ python3-dev && \
rm -rf /root/* && \ rm -rf /root/* && \
rm -rf /var/cache/apk/* rm -rf /var/cache/apk/*
#
# Start fatt # Start fatt
STOPSIGNAL SIGINT STOPSIGNAL SIGINT
ENV PYTHONPATH /opt/fatt ENV PYTHONPATH /opt/fatt

Binary file not shown.

Binary file not shown.