mezidia / song-helper

🎶Python script with artificial intelligence, that proposes you song, depending on your mood🎹
https://song-helper.vercel.app
MIT License
7 stars 0 forks source link

CU-85zt75k0k_Setup-backend #211

Closed mezgoodle closed 1 year ago

mezgoodle commented 1 year ago

Setup backend with FastAPI

mezgoodle commented 1 year ago

Task linked: CU-85zt75k0k Setup backend

gitguardian[bot] commented 1 year ago

⚠️ GitGuardian has uncovered 2 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 | | | -------------- | ------------------------- | ---------------- | --------------- | -------------------- | | [6995915](https://dashboard.gitguardian.com/incidents/6995915?occurrence=98348713) | Bearer Token | f27a142e2ab6b4010fb7a73658fe205686c81ca8 | server/tests/test_main.py | [View secret](https://github.com/mezidia/song-helper/commit/f27a142e2ab6b4010fb7a73658fe205686c81ca8#diff-54002e270de8d8c896a9d5e48b0323802d754b0c774ee3be5d2508deeaf6db1dR51) | | [6995915](https://dashboard.gitguardian.com/incidents/6995915?occurrence=98525117) | Bearer Token | 43fd4502165f6001de7afd1b76fc6490303eea19 | server/tests/test_main.py | [View secret](https://github.com/mezidia/song-helper/commit/43fd4502165f6001de7afd1b76fc6490303eea19#diff-54002e270de8d8c896a9d5e48b0323802d754b0c774ee3be5d2508deeaf6db1dL51) |
🛠 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/generics/bearer_token#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!

codecov[bot] commented 1 year ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (rebuild@a6eb310). Click here to learn what that means. The diff coverage is n/a.

@@            Coverage Diff             @@
##             rebuild     #211   +/-   ##
==========================================
  Coverage           ?   94.33%           
==========================================
  Files              ?       10           
  Lines              ?      159           
  Branches           ?        0           
==========================================
  Hits               ?      150           
  Misses             ?        9           
  Partials           ?        0           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more