MOSP is a platform for creating, editing and sharing validated JSON objects of any type.
The goal is to gather security related JSON objects, in the first place aimed to be used with MONARC.
You can use any available JSON schemas in order to create new JSON objects via a
web form dynamically generated and based on the selected schema.
It is possible to interact with MOSP programmatically thanks to its API.
Some JSON objects can be exported to a
MISP galaxy.
As example you can have a look at official instance operated by CASES and more particularly the objects shared by the MONARC project.
There are different ways to deploy MOSP.
$ git clone https://github.com/CASES-LU/MOSP.git
$ cd MOSP/
$ npm install
$ poetry install
$ poetry shell
$ python manager.py db_create
$ python manager.py db_init
$ python manager.py import_licenses_from_spdx
$ python manager.py create_admin <username> <password>
$ pybabel compile -d mosp/web/translations
$ python runserver.py
Manually with some simple commands:
$ git clone https://github.com/CASES-LU/MOSP.git
$ cd MOSP/
$ heroku create --region eu <name-of-your-instance>
$ heroku addons:add heroku-postgresql:hobby-dev
$ heroku config:set APPLICATION_SETTINGS='heroku.cfg'
$ heroku buildpacks:add --index 1 heroku/python
$ heroku buildpacks:add --index 2 https://github.com/heroku/heroku-buildpack-nodejs
$ git push heroku master
$ heroku run init
$ heroku run python manager.py import_licenses_from_spdx
$ heroku ps:scale web=1
or simply with this button:
The default credentials are admin for the login and password for the password.
If you want to create other users programmatically:
$ heroku run python manager.py create_user <login> <password>
$ heroku run python manager.py create_admin <login> <password>
Contributions are welcome and there are many ways to participate to the project. You can contribute to MOSP by:
- reporting bugs;
- suggesting enhancements or new features;
- improving the documentation;
- creating new objects on our instance.
Feel free to fork the code, play with it, make some patches and send us pull requests.
There is one main branch: what we consider as stable with frequent updates as hot-fixes.
Features are developed in separated branches and then regularly merged into the master stable branch.
A documentation is available on the MONARC website.
This software is licensed under GNU Affero General Public License version 3
- Copyright (C) 2018-2019 Cédric Bonhomme
- Copyright (C) 2018-2019 SMILE gie securitymadein.lu
For more information, the list of authors and contributors is available.