misp-docker
misp-docker copied to clipboard
Workflow modules (Action/Logic/Misp-modules/Custom) settings are not persistent across container restarts
Hello,
I am wanting to use the workflow feature in our containerized setup. I have enabled workflows and actions, which appear correctly in my mounted config file.
I then go into the workflows and enable certain workflow modules (In testing I enabled all of them). This works correctly, but then after rebooting the containers all the workflow modules are disabled again. The mounted config is still correct, and workflows and action are still enabled as expected.
Following the steps below I was able to reproduce the issue:
Start VM Fedora 40 x64
vCPU/s:
1 vCPU
RAM:
2048.00 MB
Storage:
50 GB NVMe
sudo dnf -y install dnf-plugins-core
sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
sudo dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
systemctl start docker
git clone https://github.com/MISP/misp-docker.git
cd misp-docker
mv template.env .env
set base_url env to IP of VM
setenforce 0 #Disable SELinux
#remove auth requirements redis, this was giving me grief
docker compose up -d
#go into settings
#enable workflows and actions
#enable all workflow modules
docker compose down
docker compose up -d
#workflow modules are disabled again
I hope my description is clear, otherwise I am happy to further clarify!