ThomPoppins / MERN-Enterprise-Search

Open Enterprise Search App (early development fase)
2 stars 0 forks source link

Dev #40

Closed ThomPoppins closed 10 months ago

changeset-bot[bot] commented 10 months ago

⚠️ No Changeset found

Latest commit: 22fb3f8ea3b875e61b44aea548ed12bdd67b15c8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

gitguardian[bot] commented 10 months ago

⚠️ GitGuardian has uncovered 9 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
| GitGuardian id | Secret | Commit | Filename | | | -------------- | ------------------------- | ---------------- | --------------- | -------------------- | | [8949438](https://dashboard.gitguardian.com/incidents/8949438?occurrence=120855515) | MongoDB Credentials | 01a74f785744559fc36dcf76198f45b77b9ee409 | server/.env | [View secret](https://github.com/ThomPoppins/MERN-Enterprise-Search/commit/01a74f785744559fc36dcf76198f45b77b9ee409#diff-851502e39b7ba2dbf4da21e578181c158ff8917752cefcae5996bd989915e25dL4) | | [8949438](https://dashboard.gitguardian.com/incidents/8949438?occurrence=120860362) | MongoDB Credentials | 8d349cd3bec547eb57c0c1041e48616ba22a27c4 | server/config.js | [View secret](https://github.com/ThomPoppins/MERN-Enterprise-Search/commit/8d349cd3bec547eb57c0c1041e48616ba22a27c4#diff-0880dd31651ac76081598388795f229d9c8a319c956ba8c56f3222e389efce13L15) | | [8949438](https://dashboard.gitguardian.com/incidents/8949438?occurrence=120868205) | MongoDB Credentials | 96d93f4bc7fd51b2fec5140aca6a7782a27fa838 | server/.env | [View secret](https://github.com/ThomPoppins/MERN-Enterprise-Search/commit/96d93f4bc7fd51b2fec5140aca6a7782a27fa838#diff-851502e39b7ba2dbf4da21e578181c158ff8917752cefcae5996bd989915e25dL3) | | [8949438](https://dashboard.gitguardian.com/incidents/8949438?occurrence=120868206) | MongoDB Credentials | 96d93f4bc7fd51b2fec5140aca6a7782a27fa838 | server/config.js.BACKUP | [View secret](https://github.com/ThomPoppins/MERN-Enterprise-Search/commit/96d93f4bc7fd51b2fec5140aca6a7782a27fa838#diff-ebe153cfddd728cbef2bd45ef9fc377a47ed4bcc9194c20f11aa76184df263f0L15) | | [8949698](https://dashboard.gitguardian.com/incidents/8949698?occurrence=120860361) | MongoDB Credentials | 8d349cd3bec547eb57c0c1041e48616ba22a27c4 | server/config.js | [View secret](https://github.com/ThomPoppins/MERN-Enterprise-Search/commit/8d349cd3bec547eb57c0c1041e48616ba22a27c4#diff-0880dd31651ac76081598388795f229d9c8a319c956ba8c56f3222e389efce13L12) | | [8949698](https://dashboard.gitguardian.com/incidents/8949698?occurrence=120868204) | MongoDB Credentials | 96d93f4bc7fd51b2fec5140aca6a7782a27fa838 | server/config.js.BACKUP | [View secret](https://github.com/ThomPoppins/MERN-Enterprise-Search/commit/96d93f4bc7fd51b2fec5140aca6a7782a27fa838#diff-ebe153cfddd728cbef2bd45ef9fc377a47ed4bcc9194c20f11aa76184df263f0L12) | | [8949699](https://dashboard.gitguardian.com/incidents/8949699?occurrence=120860363) | Generic High Entropy Secret | 8d349cd3bec547eb57c0c1041e48616ba22a27c4 | server/config.js | [View secret](https://github.com/ThomPoppins/MERN-Enterprise-Search/commit/8d349cd3bec547eb57c0c1041e48616ba22a27c4#diff-0880dd31651ac76081598388795f229d9c8a319c956ba8c56f3222e389efce13L18) | | [8949699](https://dashboard.gitguardian.com/incidents/8949699?occurrence=120868207) | Generic High Entropy Secret | 96d93f4bc7fd51b2fec5140aca6a7782a27fa838 | server/config.js.BACKUP | [View secret](https://github.com/ThomPoppins/MERN-Enterprise-Search/commit/96d93f4bc7fd51b2fec5140aca6a7782a27fa838#diff-ebe153cfddd728cbef2bd45ef9fc377a47ed4bcc9194c20f11aa76184df263f0L18) | | [8949699](https://dashboard.gitguardian.com/incidents/8949699?occurrence=120868208) | Generic High Entropy Secret | 96d93f4bc7fd51b2fec5140aca6a7782a27fa838 | server/.env | [View secret](https://github.com/ThomPoppins/MERN-Enterprise-Search/commit/96d93f4bc7fd51b2fec5140aca6a7782a27fa838#diff-851502e39b7ba2dbf4da21e578181c158ff8917752cefcae5996bd989915e25dL4) |
🛠 Guidelines to remediate hardcoded secrets
1. Understand the implications of revoking this secret by investigating where it is used in your code. 2. Replace and store your secrets safely. [Learn here](https://blog.gitguardian.com/secrets-api-management?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) the best practices. 3. Revoke and [rotate these secrets](https://docs.gitguardian.com/secrets-detection/detectors/specifics/mongo_uri#revoke-the-secret?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment). 4. If possible, [rewrite git history](https://blog.gitguardian.com/rewriting-git-history-cheatsheet?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment). Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data. To avoid such incidents in the future consider - following these [best practices](https://blog.gitguardian.com/secrets-api-management/?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) for managing and storing secrets including API keys and other credentials - install [secret detection on pre-commit](https://docs.gitguardian.com/ggshield-docs/integrations/git-hooks/pre-commit?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) to catch secret before it leaves your machine and ease remediation.

🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Our GitHub checks need improvements? Share your feedbacks!