You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All notable changes to this project will be documented in this file.
3
+
4
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
+
6
+
## SemVer public API
7
+
8
+
The [public API](https://semver.org/spec/v2.0.0.html#spec-item-1) for this project is defined by the set of functions provided by the `src/misp_modules/modules/expansion/crowdsec.py` file.
Before running the docker environment, we need to create a volume so that our local sources are mounted in the misp-modules container.
69
+
70
+
**Warning**: The python version that is hard-coded in the `docker-compose.override.yml` may change: it should be same version that is used by the misp-modules container.
71
+
Please look the `python_version` value at the end of the `misp-modules/Pipfile` file.
Once running, you can browse to your MISP instance at `http://localhost:80` and login with the default credentials that you can find in the `.env` file.
90
+
91
+
92
+
### Stop Docker environment
93
+
94
+
To stop all containers:
95
+
96
+
```bash
97
+
docker compose down
98
+
```
99
+
100
+
To stop all containers and remove all data (if you want to come back to a fresh TheHive/Cortex installation):
101
+
102
+
```bash
103
+
docker compose down -v
104
+
```
105
+
106
+
## Manual testing in UI
107
+
108
+
When you have the docker environment running, you can test the module in the MISP UI.
109
+
110
+
After each modification in the module code, you need to restart the misp-modules container to apply the changes:
111
+
112
+
```bash
113
+
docker compose restart misp-modules
114
+
```
115
+
116
+
## Update documentation table of contents
117
+
118
+
To update the table of contents in the documentation, you can use [the `doctoc` tool](https://github.com/thlorenz/doctoc).
0 commit comments