No description
Find a file
2024-07-09 14:05:00 +02:00
.vscode new: [app] Added v0.1 of the application 2024-06-26 15:30:47 +02:00
active_exercises new: [exercises] Added flubot exercise (untested) 2024-07-02 16:14:08 +02:00
dist chg: [build] Rebuild assets 2024-07-09 13:22:06 +02:00
exercises new: [app:evaluator_query-search] Added query-search evaluator and made full evaluation chain async 2024-07-04 14:49:26 +02:00
public new: [app] Added v0.1 of the application 2024-06-26 15:30:47 +02:00
src chg: [build] Rebuild assets 2024-07-09 13:22:06 +02:00
.eslintrc.cjs new: [app] Added v0.1 of the application 2024-06-26 15:30:47 +02:00
.gitignore new: [app:backup] Added backup feature that saves exercise progress every 5sec 2024-07-08 10:21:59 +02:00
.prettierrc.json new: [app] Added v0.1 of the application 2024-06-26 15:30:47 +02:00
config.py.sample chg: [app:config] Added eventReports as accepted notification scope 2024-07-08 10:25:19 +02:00
db.py new: [app:user_activity] Added user activity chart 2024-07-09 12:19:20 +02:00
exercise.py fix: [backend:exercise] Gracefully catch user_id without emails 2024-07-09 14:05:00 +02:00
index.html new: [app] Added v0.1 of the application 2024-06-26 15:30:47 +02:00
inject_evaluator.py new: [app:evaluator_query-search] Added query-search evaluator and made full evaluation chain async 2024-07-04 14:49:26 +02:00
jsconfig.json new: [app] Added v0.1 of the application 2024-06-26 15:30:47 +02:00
misp_api.py chg: [backend] Make everything async relying on asyncio 2024-07-03 11:51:44 +02:00
notification.py new: [app:user_activity] Added user activity chart 2024-07-09 12:19:20 +02:00
package-lock.json new: [app:notification_history] Added notification history support 2024-07-04 19:46:05 +02:00
package.json new: [app:notification_history] Added notification history support 2024-07-04 19:46:05 +02:00
postcss.config.js new: [app] Added v0.1 of the application 2024-06-26 15:30:47 +02:00
README.md chg: [app:config] Avoid overriding config file and git conflicts 2024-07-04 14:59:19 +02:00
REQUIREMENTS chg: [backend] Usage of aiohttp in place of eventlet 2024-07-02 16:48:55 +02:00
server.py new: [app:user_activity] Added user activity chart 2024-07-09 12:19:20 +02:00
tailwind.config.js chg: [app:live-logs] Improved notification activity chart 2024-07-08 13:17:12 +02:00
utils.py new: [app] Added v0.1 of the application 2024-06-26 15:30:47 +02:00
vite.config.js new: [app] Added v0.1 of the application 2024-06-26 15:30:47 +02:00

misp-exercise-dashboard

Installation

# Setup venv
python3 -m venv venv
source venv/bin/activate

# Install deps
pip3 install -r REQUIREMENTS

# Create config file and adapt it to your needs
cp config.py.sample config.py

Running the PROD setup

python3 server.py
# Access the page http://localhost:4000 with your browser

Running the DEV setup

python3 server.py
npm run dev
# Access the page provided by the output of the above command

VSCode + Volar (and disable Vetur).

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint