SocialGouv / vao

Dématérialisation de l'ensemble des procédures liées à l'organisation de séjours pour les personnes handicapées
Apache License 2.0
2 stars 1 forks source link

feat(eig): create - update #335

Closed benjaminDNUM closed 2 months ago

benjaminDNUM commented 3 months ago

Creation des eig en front end usager.

La PR s'arrete la l'envoie de l'eig. Il me manque encore la liste des personnes a qui envoyer un mail pour le faire.

Les yup ont été deplacé dans sharedmais ne peuvent pas etre utilisé par le backend a cause de la syntaxe import/export. Le backend a donc sa propre version des yup. Je laisse comme ca pour l'instant, mais des que le pb sera resolu, je supprimerai les yup du backend.

https://www.loom.com/share/91c5db0abc88497491075a92bfa7fe93

github-advanced-security[bot] commented 3 months ago

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

socket-security[bot] commented 2 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@babel/compat-data@7.24.7 None 0 65.6 kB nicolo-ribaudo
npm/@babel/core@7.24.7 environment, filesystem, unsafe +5 6.25 MB nicolo-ribaudo
npm/@babel/generator@7.24.10 None 0 496 kB nicolo-ribaudo
npm/@babel/helper-compilation-targets@7.24.7 None +1 67.9 kB nicolo-ribaudo
npm/@babel/helper-environment-visitor@7.24.7 Transitive: environment +2 2.45 MB nicolo-ribaudo
npm/@babel/helper-function-name@7.24.7 Transitive: environment +2 2.47 MB nicolo-ribaudo
npm/@babel/helper-hoist-variables@7.24.7 Transitive: environment +2 2.45 MB nicolo-ribaudo
npm/@babel/helper-module-imports@7.22.15 None 0 54.4 kB nicolo-ribaudo
npm/@babel/helper-module-transforms@7.24.7 Transitive: environment +6 5.68 MB nicolo-ribaudo
npm/@babel/helper-simple-access@7.24.7 Transitive: environment +5 5.48 MB nicolo-ribaudo
npm/@babel/helper-split-export-declaration@7.24.7 Transitive: environment +2 2.46 MB nicolo-ribaudo
npm/@babel/helper-string-parser@7.24.8 None 0 31.8 kB nicolo-ribaudo
npm/@babel/helper-validator-option@7.24.7 None 0 11.8 kB nicolo-ribaudo
npm/@babel/helpers@7.24.7 Transitive: environment +2 3.3 MB nicolo-ribaudo
npm/@babel/standalone@7.24.7 None 0 23.5 MB nicolo-ribaudo
npm/@babel/template@7.24.7 Transitive: environment +3 4.4 MB nicolo-ribaudo
npm/@babel/traverse@7.24.8 None 0 637 kB nicolo-ribaudo
npm/@babel/types@7.24.9 environment 0 2.41 MB nicolo-ribaudo
npm/@es-joy/jsdoccomment@0.43.1 None 0 113 kB brettz9
npm/@eslint-community/regexpp@4.10.1 None 0 432 kB eslint-community-bot
npm/@eslint/js@9.5.0 None 0 14.2 kB eslintbot
npm/@gouvminint/vue-dsfr@5.13.0 Transitive: environment, eval, filesystem, unsafe +15 11.7 MB gouvminint
npm/@pinia/nuxt@0.5.1 Transitive: environment, filesystem +11 1.78 MB posva
npm/@sindresorhus/merge-streams@2.3.0 None 0 10.5 kB sindresorhus
npm/@socialgouv/dsfr-toaster-nuxt-module@1.2.1 Transitive: environment, filesystem +11 1.79 MB socialgroovybot
npm/@stylistic/eslint-plugin-js@2.2.2 None 0 527 kB eslint-stylistic-bot
npm/@stylistic/eslint-plugin-jsx@2.2.2 None 0 152 kB eslint-stylistic-bot
npm/@stylistic/eslint-plugin-plus@2.2.2 None 0 15.4 kB eslint-stylistic-bot
npm/@stylistic/eslint-plugin-ts@2.2.2 None 0 162 kB eslint-stylistic-bot
npm/@stylistic/eslint-plugin@2.2.2 None 0 21.1 kB eslint-stylistic-bot
npm/@types/eslint@8.56.10 None 0 192 kB types
npm/@typescript-eslint/eslint-plugin@7.14.1 None 0 2.74 MB jameshenry
npm/@typescript-eslint/parser@7.14.1 None 0 18.2 kB jameshenry
npm/@typescript-eslint/scope-manager@7.14.1 None 0 620 kB jameshenry
npm/@typescript-eslint/type-utils@7.14.1 None 0 109 kB jameshenry
npm/@typescript-eslint/types@7.14.1 None 0 160 kB jameshenry
npm/@typescript-eslint/typescript-estree@7.14.1 None +2 608 kB jameshenry
npm/@typescript-eslint/utils@7.14.1 None 0 285 kB jameshenry
npm/@typescript-eslint/visitor-keys@7.14.1 None 0 19.4 kB jameshenry
npm/@vee-validate/i18n@4.13.1 network 0 131 kB logaretm
npm/@vee-validate/rules@4.13.1 None 0 59.6 kB logaretm
npm/@vueform/multiselect@2.6.8 None 0 856 kB vueform
npm/acorn@8.12.0 None 0 537 kB marijn
npm/ansi-styles@3.2.1 None 0 9.37 kB sindresorhus
npm/basic-auth@2.0.1 None 0 8.89 kB dougwilson
npm/browserslist@4.23.1 environment, filesystem 0 62.9 kB ai
npm/c12@1.11.1 environment 0 72.3 kB pi0
npm/caniuse-lite@1.0.30001636 None 0 2.07 MB caniuse-lite
npm/chalk@2.4.2 environment +2 36.7 kB sindresorhus
npm/cheerio-select@2.1.0 None 0 62.6 kB feedic
npm/cheerio@1.0.0-rc.12 None 0 558 kB feedic
npm/chownr@2.0.0 filesystem 0 5.75 kB isaacs
npm/citty@0.1.6 None 0 45.5 kB pi0
npm/color-convert@1.9.3 None 0 27 kB qix
npm/color-name@1.1.3 None 0 9.36 kB dfcreative
npm/compatx@0.1.8 None 0 20.6 kB pi0
npm/confbox@0.1.7 None 0 269 kB pi0
npm/consola@3.2.3 environment 0 228 kB pi0
npm/css-select@5.1.0 None 0 224 kB feedic
npm/css-what@6.1.0 None 0 66 kB feedic
npm/cssfilter@0.0.10 None 0 32 kB leizongmin
npm/date-fns@3.6.0 None 0 22.2 MB kossnocorp
npm/dayjs@1.11.11 None 0 666 kB iamkun
npm/defu@6.1.4 None 0 19.6 kB pi0
npm/destr@2.0.3 None 0 11.1 kB pi0
npm/dom-serializer@2.0.0 None 0 28.8 kB feedic
npm/domelementtype@2.3.0 None 0 11.4 kB feedic
npm/domhandler@5.0.3 None 0 75.3 kB feedic
npm/domutils@3.1.0 network 0 162 kB feedic
npm/dotenv@16.4.5 environment, filesystem 0 79.1 kB motdotla
npm/electron-to-chromium@1.4.811 None 0 295 kB kilianvalkhof
npm/emoji-regex@10.3.0 None 0 31.5 kB google-wombot
npm/escape-string-regexp@5.0.0 None 0 3.66 kB sindresorhus
npm/eslint-config-flat-gitignore@0.1.5 None 0 11 kB antfu
npm/eslint-plugin-import-x@0.5.2 None 0 631 kB jounqin
npm/eslint-plugin-jsdoc@48.4.0 filesystem 0 1.86 MB gajus
npm/eslint-plugin-vue@9.26.0 filesystem, unsafe 0 1.34 MB ota-meshi
npm/fs-minipass@2.1.0 filesystem +1 62.2 kB isaacs
npm/get-east-asian-width@1.2.0 None 0 15.6 kB sindresorhus
npm/get-tsconfig@4.7.5 filesystem, unsafe 0 101 kB hirokiosame
npm/giget@1.2.3 environment, network +2 192 kB pi0
npm/globals@11.12.0 None 0 39.8 kB sindresorhus
npm/globalthis@1.0.4 None 0 23.7 kB ljharb
npm/hash-sum@2.0.0 None 0 8.13 kB bevacqua
npm/hookable@5.5.3 None 0 39.9 kB pi0
npm/htmlparser2@8.0.2 None 0 265 kB feedic
npm/immutable@4.3.6 None 0 682 kB leebyron
npm/is-core-module@2.14.0 None 0 31.1 kB ljharb
npm/is-fullwidth-code-point@5.0.0 None 0 3.46 kB sindresorhus
npm/js-tokens@9.0.0 None 0 16.1 kB lydell
npm/json5@2.2.3 None 0 235 kB jordanbtucker
npm/klona@2.0.6 None 0 23.2 kB lukeed
npm/knitwork@1.1.0 None 0 37.3 kB pi0
npm/local-pkg@0.5.0 None 0 26.8 kB antfu
npm/minimatch@9.0.4 environment 0 435 kB isaacs
npm/minizlib@2.1.2 None +1 65.4 kB isaacs
npm/mlly@1.7.1 None +1 335 kB pi0
npm/mri@1.2.0 None 0 13.3 kB lukeed
npm/neo-async@2.6.2 None 0 298 kB suguru03
npm/node-fetch-native@1.6.4 network 0 735 kB pi0
npm/nuxt-csurf@1.5.2 environment Transitive: filesystem +11 1.79 MB morgbn
npm/nuxt-security@1.4.3 Transitive: environment, filesystem +11 1.84 MB baroshem
npm/object-inspect@1.13.2 None 0 99.1 kB ljharb
npm/ohash@1.1.3 None 0 70.7 kB pi0
npm/parse-imports@2.1.0 None 0 51 kB tomeraberbach
npm/parse5-htmlparser2-tree-adapter@7.0.0 None 0 19.1 kB feedic
npm/parse5@7.1.2 None 0 702 kB feedic
npm/path-type@5.0.0 filesystem 0 5.64 kB sindresorhus
npm/perfect-debounce@1.0.0 None 0 9.24 kB pi0
npm/pinia@2.1.7 environment Transitive: eval, filesystem, unsafe +15 11.2 MB posva
npm/pkg-types@1.1.3 None 0 62.9 kB pi0
npm/postcss-selector-parser@6.1.0 None 0 186 kB evilebottnawi
npm/prettier@3.3.2 environment, filesystem, unsafe 0 8.25 MB prettier-bot
npm/property-expr@2.0.6 None 0 10.3 kB monastic.panic
npm/rc9@2.1.2 environment 0 24.4 kB pi0
npm/resolve-from@4.0.0 filesystem, unsafe 0 4.64 kB sindresorhus
npm/safe-buffer@5.1.2 None 0 31.7 kB feross
npm/sass-loader@14.2.1 environment 0 60.3 kB evilebottnawi
npm/sass@1.77.6 filesystem, unsafe 0 5.22 MB sassbot
npm/scule@1.3.0 None 0 29.6 kB pi0
npm/std-env@3.7.0 None 0 26.2 kB pi0
npm/string-width@7.1.0 None 0 6.61 kB sindresorhus
npm/strip-literal@2.1.0 None 0 11.3 kB antfu
npm/synckit@0.9.0 environment 0 54.4 kB jounqin
npm/tar@6.2.1 environment, filesystem +1 215 kB isaacs
npm/tiny-case@1.0.3 None 0 5.7 kB monastic.panic
npm/toposort@2.0.2 None 0 16.7 kB marcelklehr
npm/type-fest@4.20.1 None 0 367 kB sindresorhus
npm/typescript@5.4.5 None 0 32.4 MB typescript-bot
npm/uncrypto@0.1.3 None 0 7.87 kB pi0
npm/uncsrf@1.1.1 None 0 13.9 kB morgbn
npm/unctx@2.3.1 Transitive: environment, filesystem +4 723 kB pi0
npm/unplugin-remove@1.0.2 environment, unsafe Transitive: filesystem +9 9.92 MB caoyugang
npm/untyped@1.4.2 Transitive: environment +2 2.52 MB pi0
npm/update-browserslist-db@1.0.16 environment, filesystem, shell 0 15.5 kB ai
npm/v8-to-istanbul@9.2.0 filesystem, unsafe 0 46.9 kB oss-bot
npm/vee-validate@4.13.1 environment Transitive: eval, filesystem, unsafe +15 11.2 MB logaretm
npm/vue-demi@0.14.8 filesystem Transitive: environment, eval, unsafe +15 10.9 MB antfu
npm/vue-matomo@4.2.0 None 0 21.2 kB amazingdreams
npm/walker@1.0.8 filesystem 0 5.8 kB daaku
npm/webpack-sources@3.2.3 None 0 91.3 kB sokra
npm/which-boxed-primitive@1.0.2 None 0 15 kB ljharb
npm/which-typed-array@1.1.15 None 0 40.7 kB ljharb
npm/wrap-ansi@9.0.0 None 0 11.5 kB sindresorhus
npm/write-file-atomic@4.0.2 filesystem 0 12.2 kB gar
npm/xss@1.0.15 None 0 145 kB leizongmin
npm/xtend@4.0.2 None 0 6.46 kB raynos
npm/yallist@4.0.0 None 0 14.8 kB isaacs
npm/yaml@2.3.4 environment 0 661 kB eemeli
npm/yocto-queue@0.1.0 None 0 6.03 kB sindresorhus
npm/yocto-queue@1.0.0 None 0 6.41 kB sindresorhus
npm/yup@1.4.0 None 0 256 kB monastic.panic

🚮 Removed packages: npm/@commitlint/cli@19.3.0, npm/@commitlint/config-conventional@19.2.2, npm/@commitlint/config-validator@19.0.3, npm/@commitlint/ensure@19.0.3, npm/@commitlint/execute-rule@19.0.0, npm/@commitlint/format@19.3.0, npm/@commitlint/is-ignored@19.2.2, npm/@commitlint/lint@19.2.2, npm/@commitlint/load@19.2.0, npm/@commitlint/message@19.0.0, npm/@commitlint/parse@19.0.3, npm/@commitlint/read@19.2.1, npm/@commitlint/resolve-extends@19.1.0, npm/@commitlint/rules@19.0.3, npm/@commitlint/to-lines@19.0.0, npm/@commitlint/top-level@19.0.0, npm/@commitlint/types@19.0.3, npm/@eslint-community/regexpp@4.11.0, npm/@gouvfr/dsfr@1.12.1, npm/@gouvminint/vue-dsfr@5.19.0, npm/@types/conventional-commits-parser@5.0.0, npm/@types/node@20.14.10, npm/acorn@8.12.1, npm/ajv@8.17.1, npm/array-ify@1.0.0, npm/asn1@0.2.6, npm/assert-plus@1.0.0, npm/asynckit@0.4.0, npm/aws-sign2@0.7.0, npm/aws4@1.13.0, npm/bcrypt-pbkdf@1.0.2, npm/caseless@0.12.0, npm/chalk@5.3.0, npm/clogy@1.3.3, npm/combined-stream@1.0.8, npm/commander@4.1.1, npm/compare-func@2.0.0, npm/conventional-changelog-angular@7.0.0, npm/conventional-changelog-conventionalcommits@7.0.2, npm/conventional-commits-parser@5.0.0, npm/core-util-is@1.0.2, npm/cosmiconfig-typescript-loader@5.0.0, npm/cosmiconfig@9.0.0, npm/dargs@8.1.0, npm/dashdash@1.14.1, npm/dayjs@1.11.12, npm/delayed-stream@1.0.0, npm/dot-prop@5.3.0, npm/ecc-jsbn@0.1.2, npm/env-cmd@10.1.0, npm/env-paths@2.2.1, npm/eslint-config-prettier@9.1.0, npm/eslint-plugin-prettier@5.2.1, npm/esquery@1.6.0, npm/exec-sh@0.3.6, npm/extend@3.0.2, npm/extsprintf@1.3.0, npm/fast-uri@3.0.1, npm/forever-agent@0.6.1, npm/form-data@2.3.3, npm/getpass@0.1.7, npm/git-raw-commits@4.0.0, npm/glob-parent@6.0.2, npm/global-directory@4.0.1, npm/har-schema@2.0.0, npm/har-validator@5.1.5, npm/http-signature@1.2.0, npm/husky@9.0.11, npm/import-meta-resolve@4.1.0, npm/ini@4.1.1, npm/is-ci@3.0.1, npm/is-obj@2.0.0, npm/is-text-path@2.0.0, npm/is-typedarray@1.0.0, npm/isstream@0.1.2, npm/jsbn@0.1.1, npm/json-schema-traverse@1.0.0, npm/json-schema@0.4.0, npm/json-stringify-safe@5.0.1, npm/jsonparse@1.3.1, npm/jsonstream@1.3.5, npm/jsprim@1.4.2, npm/lodash.camelcase@4.3.0, npm/lodash.isplainobject@4.0.6, npm/lodash.kebabcase@4.1.1, npm/lodash.mergewith@4.6.2, npm/lodash.snakecase@4.1.1, npm/lodash.startcase@4.4.0, npm/lodash.uniq@4.5.0, npm/lodash.upperfirst@4.3.1, npm/meow@12.1.1, npm/mime-db@1.52.0, npm/mime-types@2.1.35, npm/node-talisman@1.29.11, npm/oauth-sign@0.9.0, npm/performance-now@2.1.0, npm/prettier@3.3.3, npm/psl@1.9.0, npm/qs@6.5.3, npm/request@2.88.2, npm/require-from-string@2.0.2, npm/safe-buffer@5.2.1, npm/safer-buffer@2.1.2, npm/sshpk@1.18.0, npm/text-extensions@2.4.0, npm/through@2.3.8, npm/tough-cookie@2.5.0, npm/tunnel-agent@0.6.0, npm/tweetnacl@0.14.5, npm/uuid@3.4.0, npm/verror@1.10.0, npm/vue@3.4.34, npm/yocto-queue@1.1.1

View full report↗︎

socket-security[bot] commented 2 months ago

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSourceCI
Install scripts npm/vue-demi@0.14.8
  • Install script: postinstall
  • Source: node -e "try{require('./scripts/postinstall.js')}catch(e){}"
🚫

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/vue-demi@0.14.8
github-actions[bot] commented 2 months ago

🎉 Deployment for commit b4d1261dced503ba76f773ed620b076c60cb2f58 :

Ingresses - 🚀 [https://api-vao-feat-eig-creation-d-une-eig-eljxihur.ovh.fabrique.social.gouv.fr/](https://api-vao-feat-eig-creation-d-une-eig-eljxihur.ovh.fabrique.social.gouv.fr/) - 🚀 [https://bo-vao-feat-eig-creation-d-une-eig-eljxihur.ovh.fabrique.social.gouv.fr/](https://bo-vao-feat-eig-creation-d-une-eig-eljxihur.ovh.fabrique.social.gouv.fr/) - 🚀 [https://maildev-vao-feat-eig-creation-d-une-eig-eljxihur.ovh.fabrique.social.gouv.fr/](https://maildev-vao-feat-eig-creation-d-une-eig-eljxihur.ovh.fabrique.social.gouv.fr/) - 🚀 [https://vao-feat-eig-creation-d-une-eig-eljxihur.ovh.fabrique.social.gouv.fr/](https://vao-feat-eig-creation-d-une-eig-eljxihur.ovh.fabrique.social.gouv.fr/)
Docker images - 📦 docker pull harbor.fabrique.social.gouv.fr/vao/vao/backend:sha-b4d1261dced503ba76f773ed620b076c60cb2f58 - 📦 docker pull harbor.fabrique.social.gouv.fr/vao/vao/frontend-bo:sha-b4d1261dced503ba76f773ed620b076c60cb2f58 - 📦 docker pull harbor.fabrique.social.gouv.fr/vao/vao/frontend-usagers:sha-b4d1261dced503ba76f773ed620b076c60cb2f58 - 📦 docker pull maildev/maildev:2.1.0
Debug - [📕 Loki logs for namespace vao-feat-eig-creation-d-une-eig-eljxihur](https://grafana-ovh.fabrique.social.gouv.fr/explore?orgId=1&left=%5B%22now-6h%22,%22now%22,%22Loki%22,%7B%22expr%22:%22%7Bnamespace%3D%5C%22vao-feat-eig-creation-d-une-eig-eljxihur%5C%22%7D%22%7D%5D) - [📈 Pods monitoring for namespace vao-feat-eig-creation-d-une-eig-eljxihur](https://grafana-ovh.fabrique.social.gouv.fr/d/a7df53d7-0696-4e00-821b-c56b66e5c20a/kubernetes-compute-resources-namespace-pods?orgId=1&refresh=10s&var-datasource=P5DCFC7561CCDE821&var-cluster=ovh-dev&var-namespace=vao-feat-eig-creation-d-une-eig-eljxihur) - [📈 Workloads monitoring for namespace vao-feat-eig-creation-d-une-eig-eljxihur](https://grafana-ovh.fabrique.social.gouv.fr/d/a164a7f0339f99e89cea5cb47e9be617V2/kubernetes-compute-resources-namespace-workloads?orgId=1&refresh=10s&var-datasource=eb239be0-0ac2-41d5-9e1a-061f951a07a3&var-cluster=ovh-dev&var-namespace=vao-feat-eig-creation-d-une-eig-eljxihur&var-type=deployment) - [🐘 CNPG pg](https://grafana-ovh.fabrique.social.gouv.fr/d/z7FCA4Nn1/cloudnativepg?orgId=1&refresh=30s&var-DS_PROMETHEUS=default&var-namespace=vao-feat-eig-creation-d-une-eig-eljxihur&var-cluster=pg&var-instances=All)
sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
14 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
3.0% Duplication on New Code

See analysis details on SonarCloud