SocialGouv / cdtn-admin

Veille & administration des contenus pour le code du travail numรฉrique
https://cdtn-admin.fabrique.social.gouv.fr
6 stars 1 forks source link

feat(glossary): from `export` to `publish` #1408

Closed maxgfr closed 5 months ago

maxgfr commented 5 months ago

fix #1407

github-advanced-security[bot] commented 5 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 5 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 Note
Install scripts npm/nx@15.9.7
  • Install script: postinstall
  • Source: node ./bin/compute-project-graph

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/nx@15.9.7
sonarcloud[bot] commented 5 months ago

Quality Gate Failed Quality Gate failed

Failed conditions
44.1% Duplication on New Code (required โ‰ค 15%)

See analysis details on SonarCloud

github-actions[bot] commented 5 months ago

๐ŸŽ‰ Deployment for commit d917a8b6ca1ed5fd09fcc1b420054bc28ba22f5e :

Ingresses - ๐Ÿš€ [https://www-cdtn-admin-maxgfr-glossary-32u5vzbm.ovh.fabrique.social.gouv.fr/](https://www-cdtn-admin-maxgfr-glossary-32u5vzbm.ovh.fabrique.social.gouv.fr/)
Docker images - ๐Ÿ“ฆ docker pull harbor.fabrique.social.gouv.fr/cdtn/cdtn-admin/export:sha-d917a8b6ca1ed5fd09fcc1b420054bc28ba22f5e - ๐Ÿ“ฆ docker pull harbor.fabrique.social.gouv.fr/cdtn/cdtn-admin/frontend:sha-d917a8b6ca1ed5fd09fcc1b420054bc28ba22f5e - ๐Ÿ“ฆ docker pull harbor.fabrique.social.gouv.fr/cdtn/cdtn-admin/hasura:sha-d917a8b6ca1ed5fd09fcc1b420054bc28ba22f5e
Debug - [๐Ÿ“• Loki logs for namespace cdtn-admin-maxgfr-glossary-32u5vzbm](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%22cdtn-admin-maxgfr-glossary-32u5vzbm%5C%22%7D%22%7D%5D) - [๐Ÿ“ˆ Pods monitoring for namespace cdtn-admin-maxgfr-glossary-32u5vzbm](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=cdtn-admin-maxgfr-glossary-32u5vzbm) - [๐Ÿ“ˆ Workloads monitoring for namespace cdtn-admin-maxgfr-glossary-32u5vzbm](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=cdtn-admin-maxgfr-glossary-32u5vzbm&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=cdtn-admin-maxgfr-glossary-32u5vzbm&var-cluster=pg&var-instances=All)
maxgfr commented 5 months ago

Je close la branche car la bdd bug de fou