docker-misp
docker-misp copied to clipboard
Updating MISP JSON structues on init
On MISP INIT update the JSON structures.
root@misp:/var/www/MISP# ./app/Console/cake Admin updateJSON
Welcome to CakePHP v2.10.22 Console
---------------------------------------------------------------
App : app
Path: /var/www/MISP/app/
---------------------------------------------------------------
Updating all JSON structures.
Galaxies updated.
Noticelists updated.
Warninglists updated.
Taxonomies updated.
ObjectTemplates updated.
All JSON structures updated. Thank you and have a very safe and productive day.
Maybe here:
https://github.com/coolacid/docker-misp/blob/066f5c8dfac8b64698ae567e2ff13a5787b0e256/server/files/entrypoint_nginx.sh#L51
Is this something that should be added? Mind linking the MISP docs on this function so I can figure out the best place?
I think this should be added. This will update the galaxies, notice & warninglists, taxonomies and object templates on command. This is already done with the cronjob (I think?) But this should be done on MISP init as well. I found this in the automation tab in MISP.
Sounds good, do you want to PR it?
I am working on it. One MISP Issue is currently preventing me from developing.
https://github.com/MISP/MISP/issues/6921
I have created a pull request for that. actually a couple. :) Let me know what you think.