Skip to content
This repository has been archived by the owner on May 20, 2021. It is now read-only.

Latest commit

 

History

History
176 lines (112 loc) · 5.16 KB

index.adoc

File metadata and controls

176 lines (112 loc) · 5.16 KB

MONARC Objects Sharing Platform

This document is intended to be a presentation and a user guide to MOSP, a platform to create, edit and share valid JSON objects.

MOSP supports any kind of JSON objects, you just have to specify a JSON schema. The instance objects.monarc.lu is operated by CASES. It is dedicated to gather security related objects, in the first place aimed to be used with MONARC.

Objects officially provided by the MONARC project are available here. Note that any object created with a JSON schema provided by the MONARC project will be compatible with the MONARC software. In other words, you can use our JSON schemas in order to create objects (standards, mapping, etc.) for a usage in your own security analysis.

The core concept of MOSP lies on the JSON schemas and JSON Objects. Each objects you create within MOSP will conform to a selected schema.

A JSON schema describes and validates your existing data format(s). This ensures the quality of client submitted data. MOSP also uses JSON schemas for the generation of the object editor.

For example, the JSON schema available here validates the security standards used in MONARC.

When creating a new object with MOSP you have to:

  • choose a JSON schema from the ones available on the platform;

  • specify a name and a brief description;

  • choose an owning organization (a user account can be bound to one or multiple organizations);

  • choose at least one license from the proposed.

You can use any available schemas in order to create shareable JSON objects.

EditionJsonObject

The form above is generated thanks to the JSON schema. Using this form ensures that you will create valid objects.

If you update the schema related to an already defined object, eventual validation errors will be displayed in the gray box at the right of the interface.

Objects exported from MOSP can be imported in your projects via the knowledge base of MONARC.

Exporting an object for use in MONARC

MONARC will be able to handle the CSV or the JSON export.

APIs are provided in order to interact with the service programmatically.

The section API v2 describes the API v2.

The API v1 is still available but is really discouraged to be used.

This section details the management of permissions in MOSP.

You can only create an object in one of the organizations your account is linked to.

In order to edit a schema your account must be linked to the owning organization of the schema.

You can only create an object in one of the organizations your account is linked to. Since all schemas are public you can instantiate a new object with the schema of your choice.

In order to edit an object your account should be linked to the owning organization of this object.

If there are external references between the schemas available in your MOSP instance, the relations will be analyzed by MOSP in order to link objects.

References between schemas
Relations in a schema

Theses links are considered during the edition of objects (Edit object definition).