From b562c2dd189f0e8809fb4458a5f3f88d9b41af89 Mon Sep 17 00:00:00 2001 From: dbarzin Date: Fri, 6 May 2022 09:17:14 +0200 Subject: [PATCH 1/4] add ignored stub folder --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 48790c20..69796523 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,4 @@ public/vendor/ resources/views/vendor/ storage/*.key storage/logs +stubs/ From ae9008b293fbe865e557cb4a8207bcef8ea59da1 Mon Sep 17 00:00:00 2001 From: dbarzin Date: Fri, 6 May 2022 09:48:06 +0200 Subject: [PATCH 2/4] :books:update documentation --- .gitignore | 2 +- docs/model.md | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 69796523..f48206ff 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,6 @@ .phpunit.result.cache .editorconfig node_modules -vendor Homestead.json Homestead.yaml npm-debug.log @@ -40,3 +39,4 @@ resources/views/vendor/ storage/*.key storage/logs stubs/ +vendor/ diff --git a/docs/model.md b/docs/model.md index cdafcb38..43032a72 100644 --- a/docs/model.md +++ b/docs/model.md @@ -244,6 +244,8 @@ Table *m_applications* : | entity_resp_id | int unsigned | Entité responsable de l'exploitation | | responsible | varchar(255) | Responsable de l'application | | application_block_id | int unsigned | Lien vers la bloc applicatif | +| install_date | datetime | Date d'installation de l'application | +| update_date | datetime | Date de mise à jour de l'application | | created_at | timestamp | Date de création | | updated_at | timestamp | Date de mise à jour | | deleted_at | timestamp | Date de suppression | @@ -582,12 +584,14 @@ Table *logical_servers* : | description | longtext | Description du serveur | | net_services | varchar(255) | Services réseau actifs | | configuration | longtext | Configuration du serveur | -| operating_system | varchar(255) | Operating Système | +| operating_system | varchar(255) | Système d'exploitation | | address_ip | varchar(255) | Adresses IP du serveur | | cpu | varchar(255) | Nombre de CPU | | memory | varchar(255) | Quantité de mémémoire | | environment | varchar(255) | Environnement (prod, dev, test, ...) | | disk | int | Espace disque alloué | +| install_date | datetime | Date d'installation du serveur | +| update_date | datetime | Date de mise à jour du serveur | | created_at | timestamp | Date de création | | updated_at | timestamp | Date de mise à jour | | deleted_at | timestamp | Date de suppression | From 5ac91d59f51c86431508cedd6b23120a4dd43ee0 Mon Sep 17 00:00:00 2001 From: dbarzin Date: Wed, 11 May 2022 08:15:35 +0200 Subject: [PATCH 3/4] :books:Documentation --- ROADMAP.md | 2 ++ docs/index.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index d23624d8..7ab5f576 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -35,4 +35,6 @@ Ce document reprend les évolutions prévues sur Mercator sur l'année 2022. - [ ] Généraliser la notion de cartographe à d'atres objets - [ ] Générer les cartographes dans la gestion des utilisateurs - [ ] Ajouter des fonctions de manipulation des graphes d'objets +- [ ] schémas de l'infrastructure réseau physiqiue +- [ ] Exploiter les logs - recherche et affihcer tout les changements d'un objet diff --git a/docs/index.md b/docs/index.md index 9680cacb..ee5b8076 100644 --- a/docs/index.md +++ b/docs/index.md @@ -16,4 +16,4 @@ Mercator à l’avantage d’être simple à utiliser, à installer et à mettre Le modèle de données utilisé dans Mercator est basé sur celui proposé par l’ANSSI. Si le système d’information qui doit être modélisé est grand, complexe, comporte de nombreux systèmes hétéroclites, ce modèle peut s’avérer incomplet. -Cependant en faisant quelques concessions sur la complétude de la cartographie, il est souvent possible de modéliser le système d’information avec le modèle proposé par Mercator. +Cependant en faisant quelques concessions sur la complétude de la cartographie, il est souvent possible de modéliser le système d’information avec le modèle proposé ici. From 26d01a2f4035ceab2c57693dd8d5b7f16e6b3d7d Mon Sep 17 00:00:00 2001 From: dbarzin Date: Mon, 16 May 2022 18:37:57 +0200 Subject: [PATCH 4/4] fix invalid variable --- resources/views/admin/information/create.blade.php | 2 +- resources/views/admin/information/show.blade.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/views/admin/information/create.blade.php b/resources/views/admin/information/create.blade.php index 3c1b499c..830998a2 100644 --- a/resources/views/admin/information/create.blade.php +++ b/resources/views/admin/information/create.blade.php @@ -34,7 +34,7 @@
- +
{{ trans('global.select_all') }} {{ trans('global.deselect_all') }} diff --git a/resources/views/admin/information/show.blade.php b/resources/views/admin/information/show.blade.php index a59e29d8..8cbc8254 100644 --- a/resources/views/admin/information/show.blade.php +++ b/resources/views/admin/information/show.blade.php @@ -96,19 +96,19 @@ {{ trans('global.confidentiality') }} : {{ array(0=>trans('global.none'), 1=>trans('global.low'),2=>trans('global.medium'),3=>trans('global.strong'),4=>trans('global.very_strong')) - [$process->security_need_c] ?? "" }} + [$information->security_need_c] ?? "" }}
{{ trans('global.integrity') }} : {{ array(0=>trans('global.none'), 1=>trans('global.low'),2=>trans('global.medium'),3=>trans('global.strong'),4=>trans('global.very_strong')) - [$process->security_need_i] ?? "" }} + [$information->security_need_i] ?? "" }}
{{ trans('global.availability') }} : {{ array(0=>trans('global.none'), 1=>trans('global.low'),2=>trans('global.medium'),3=>trans('global.strong'),4=>trans('global.very_strong')) - [$process->security_need_a] ?? "" }} + [$information->security_need_a] ?? "" }}
{{ trans('global.tracability') }} : {{ array(0=>trans('global.none'), 1=>trans('global.low'),2=>trans('global.medium'),3=>trans('global.strong'),4=>trans('global.very_strong')) - [$process->security_need_t] ?? "" }} + [$information->security_need_t] ?? "" }}