MISP / MISP

MISP (core software) - Open Source Threat Intelligence and Sharing Platform

Home Page:https://www.misp-project.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: Security.csp_enforce don´t save when restart docker container

linozinho opened this issue · comments

Actual behavior

Security.csp_enforce don´t save when restart docker container

Expected behavior

Security.csp_enforce saves even after restarting docker container

Steps to reproduce

1- Change true to false

Screenshot from 2024-05-23 09-50-54

2- Restart docker container

Screenshot from 2024-05-23 09-52-10

3- Check the option

Screenshot from 2024-05-23 09-53-20

Option returns to true

Version

v2.4.191

Operating System

Ubuntu

Operating System version

22.04.4 LTS

PHP version

PHP 7.4.33

Browser

Chrome

Browser version

No response

Relevant log output

No response

Extra attachments

The last entry point of the Misp image "configure_misp.sh" always sets the csp to true, not allowing the change to be saved when the container is restarted

Screenshot from 2024-05-24 10-39-58

267 sudo -u www-data /var/www/MISP/app/Console/cake Admin setSetting -q "Security.csp_enforce" true

Code of Conduct

  • I agree to follow this project's Code of Conduct