-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #166 from thalesgroup-cert/v2.1
v2.1
- Loading branch information
Showing
111 changed files
with
5,199 additions
and
3,946 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,19 +28,26 @@ ALLOWED_HOST= | |
CSRF_TRUSTED_ORIGINS= | ||
|
||
# DJANGO EMAIL Configuration | ||
EMAIL_HOST= | ||
SMTP_SERVER=25 | ||
EMAIL_USE_TLS=False | ||
EMAIL_USE_SSL=False | ||
EMAIL_HOST_USER= | ||
EMAIL_HOST_PASSWORD= | ||
EMAIL_FROM= | ||
SMTP_SERVER= | ||
WATCHER_URL=https://example.watcher.local | ||
WATCHER_LOGO=https://raw.githubusercontent.com/thalesgroup-cert/Watcher/master/Watcher/static/Watcher-logo-simple.png | ||
EMAIL_SUBJECT_TAG_SITE_MONITORING=INCIDENT | ||
SUBJECT_TAG_SITE_MONITORING=INCIDENT | ||
EMAIL_CLASSIFICATION=INTERNAL | ||
WATCHER_URL=https://example.watcher.local | ||
WATCHER_LOGO=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABaCAYAAAA4qEECAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAAGYktHRAD/AP8A/6C9p5MAAAAHdElNRQfoDAsOFxLYloGbAAAlTElEQVR42t2dd5hdVbn/P2vtvU8/Z870mslMeqOk04sQQCUgV6/tir3gFbGiFxtYrg1EvSgWFAuKgBUQRGogCYQQCMkkmbTJZHovp5dd1u+PM5lkSpKZ5ETu777z7OfJzDl7le9+17u+b1k7gv8lcukb38u2zOUE06+SsR2yhLAdjXjaRjkOmq7hOGDZCgBDl6BsbEehaRpBr8SQNiozSEV5EcJ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3BZ6l8AUuCX0PgA7ga9B7xOwHfgK9D4CW4EvoZE4rP/V16VS7PHu7oMbzsz18/l8YjAYvMnngGDLOG6EJgO7ORQVCoXTbrf7boa5UZSryPvR4vtsHnro95/M79Pp4uV4rE6NzwHoZQzXoNGlmYqfmyiPQOtLvgaNNJD1dg2tM/xPaFTlfVFa40Ch3WwhuR5HWWBoP/2sT85raHivy1XXXB8Bh5TehsoctQ/Qm1oDXTMOSh+UdlAAsofYQh6LLeTcCyWpPjwLeX4v4Zxwx1rGtxGrEZVZ0H6rjQKzof0C5wBrDGhAN/9AXthFUZSzXq+nnRHRIsd1Da0PIs+DqWTyVWRSf5wSiPLgXKvVQqo6jt/fd59RSCuxyDOi3EejqV0n9bkWsJrUyhmRskiz2QzX6/UfJ3Wy2ezJaDT6tKtTrVbDrVaLlYe2sySU95AKUkohHqf6ICyznveg1KbA/YY29s/J5S1nalRMWqfRaEA3BJlM5nw4HK4kaZAf0iwIK2tK+ZYCcANt9QU9yU/f3lZik0ln5jW0neU8uwlAPM1R2qk/z+5cEOhUqnCBLCxUXyQ0FVV0S1ADyXoINNIPBI3sd5HBCGg4t8KClvBWaWH0ZGO1KhaLxSNVVVk3wGxoY4TI5XKJeDw+4wwqEvHR6XQaE0v+CxVt7N7/AfEDrgGnjDZdAAAAAElFTkSuQmCC | ||
|
||
# THE HIVE Setup | ||
THE_HIVE_URL= | ||
THE_HIVE_VERIFY_SSL=False | ||
THE_HIVE_KEY= | ||
THE_HIVE_CASE_ASSIGNEE=watcher | ||
THE_HIVE_TAGS=Watcher,Impersonation,Malicious Domain,Typosquatting | ||
# Ensure the custom field referenced here is CREATED IN THEHIVE. Otherwise, Alert exports to TheHive will be impacted | ||
THE_HIVE_CUSTOM_FIELD=watcher-id | ||
THE_HIVE_EMAIL_SENDER=[email protected] | ||
|
||
# MISP Setup | ||
MISP_URL= | ||
|
@@ -50,6 +57,15 @@ MISP_KEY= | |
MISP_TICKETING_URL= | ||
MISP_TAGS=Watcher,Impersonation,Malicious Domain,Typosquatting,tlp:amber | ||
|
||
# SLACK Setup | ||
SLACK_API_TOKEN= | ||
SLACK_CHANNEL= | ||
|
||
# CITADEL Setup | ||
CITADEL_API_TOKEN= | ||
CITADEL_ROOM_ID= | ||
CITADEL_URL= | ||
|
||
# LDAP Setup | ||
AUTH_LDAP_SERVER_URI= | ||
AUTH_LDAP_BIND_DN= | ||
|
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 |
---|---|---|
@@ -1,19 +1,25 @@ | ||
FROM nikolaik/python-nodejs:python3.11-nodejs18 | ||
MAINTAINER Félix HERRENSCHMIDT <[email protected]> | ||
|
||
LABEL title='Watcher' \ | ||
description='Watcher is a Django & React JS automated platform for discovering new potentially cybersecurity threats targeting your organisation.' \ | ||
documentation='https://thalesgroup-cert.github.io/Watcher/' \ | ||
source='https://github.com/thalesgroup-cert/Watcher' \ | ||
maintainer='[email protected]' | ||
|
||
# Adding backend directory to make absolute filepaths consistent across services | ||
WORKDIR /app/ | ||
# Add the rest of the code | ||
COPY ./ /app/ | ||
|
||
# Install python-ldap dependencies | ||
RUN apt-get update && apt-get install -y \ | ||
libsasl2-dev \ | ||
libldap2-dev \ | ||
libssl-dev | ||
RUN apt-get update && apt-get install --no-install-recommends -y \ | ||
libsasl2-dev=2.1.28* \ | ||
libldap2-dev=2.5.13* \ | ||
libssl-dev=3.0.15* && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
# Install Python dependencies | ||
RUN pip install -r requirements.txt | ||
RUN pip install --no-cache-dir -r requirements.txt | ||
|
||
# Install nltk.tokenize dependencies | ||
RUN python ./nltk_dependencies.py | ||
|
@@ -25,7 +31,7 @@ RUN npm install | |
RUN cp ./wait-for-mysql.sh /tmp/ && cp ./wait_for_mysql.py /tmp/ && chmod u+x /tmp/wait-for-mysql.sh | ||
|
||
# /app/Watcher : manage.py | ||
WORKDIR Watcher/ | ||
WORKDIR /app/Watcher/ | ||
|
||
# Collect static files for production purpose | ||
RUN python manage.py collectstatic | ||
|
@@ -35,5 +41,4 @@ EXPOSE 9002 | |
|
||
# Be sure to use 0.0.0.0 for the host within the Docker container, | ||
# otherwise the browser won't be able to find it | ||
CMD python manage.py runserver 0.0.0.0:9002 | ||
|
||
CMD ["python", "manage.py", "runserver", "0.0.0.0:9002"] |
Oops, something went wrong.