roberthsu2003 / __11304_python_2024_tvdi__

3 stars 26 forks source link

0709 issue293 18號 正銘 作業 上傳 #297

Closed arminlinster closed 2 weeks ago

arminlinster commented 2 weeks ago

0709 issue293 18號 正銘 作業 上傳

gitguardian[bot] commented 2 weeks ago

⚠️ GitGuardian has uncovered 14 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.

Since your pull request originates from a forked repository, GitGuardian is not able to associate the secrets uncovered with secret incidents on your GitGuardian dashboard. Skipping this check run and merging your pull request will create secret incidents on your GitGuardian dashboard.

🔎 Detected hardcoded secrets in your pull request
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | | | -------------- | ------------------ | ------------------------------ | ---------------- | --------------- | -------------------- | | [12260416](https://dashboard.gitguardian.com/workspace/75666/incidents/12260416) | Triggered | PostgreSQL Credentials | 83251a8d16586cd365bc5e0c2d613c3f6068d1e4 | homework/林正銘/issue293/index1415.py | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/83251a8d16586cd365bc5e0c2d613c3f6068d1e4#diff-0a1acf877ca660aca68ef8ba4ec9d150a9c262255a491f2ff0c6b12ef9938192L6) | | [12260416](https://dashboard.gitguardian.com/workspace/75666/incidents/12260416) | Triggered | PostgreSQL Credentials | 83251a8d16586cd365bc5e0c2d613c3f6068d1e4 | homework/林正銘/issue276/index1415.py | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/83251a8d16586cd365bc5e0c2d613c3f6068d1e4#diff-f388ac22b0be70f8b1399a10fffe880648de94eb202078f2210b17b799b94729L6) | | [12018284](https://dashboard.gitguardian.com/workspace/75666/incidents/12018284) | Triggered | PostgreSQL Credentials | 99d8d0dc0b22883b070141baef396358c5f45640 | insert_youbike_data/lesson2.ipynb | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/99d8d0dc0b22883b070141baef396358c5f45640#diff-0474105a4f6effcf07c76d1423002db5dc44a7ddb7542d317f37c0da0ad1061aL113) | | [12018284](https://dashboard.gitguardian.com/workspace/75666/incidents/12018284) | Triggered | PostgreSQL Credentials | 2686205f238c67e038c64b9fcef25bd46a12ed66 | 2024_07_02/lesson2.ipynb | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/2686205f238c67e038c64b9fcef25bd46a12ed66#diff-1418eced387492f0d3c9094c6082cc8ee0e69e31f1d3235961757bbff40f74f7L113) | | [12320074](https://dashboard.gitguardian.com/workspace/75666/incidents/12320074) | Triggered | PostgreSQL Credentials | 2686205f238c67e038c64b9fcef25bd46a12ed66 | homework/毛栩櫟/issue276/test.ipynb | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/2686205f238c67e038c64b9fcef25bd46a12ed66#diff-ae4ca79838650139f815afd517965dcffed1778a11301df81dd509da23ba2cfeL144) | | [12320074](https://dashboard.gitguardian.com/workspace/75666/incidents/12320074) | Triggered | PostgreSQL Credentials | 2686205f238c67e038c64b9fcef25bd46a12ed66 | homework/毛栩櫟/issue276/issue276.py | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/2686205f238c67e038c64b9fcef25bd46a12ed66#diff-29cbb88507e152d3eb28710751e86f0b889ecba278f741d09f1de010598b0134L6) | | [12320074](https://dashboard.gitguardian.com/workspace/75666/incidents/12320074) | Triggered | PostgreSQL Credentials | 2686205f238c67e038c64b9fcef25bd46a12ed66 | homework/毛栩櫟/issue276/test.ipynb | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/2686205f238c67e038c64b9fcef25bd46a12ed66#diff-ae4ca79838650139f815afd517965dcffed1778a11301df81dd509da23ba2cfeL38) | | [12320074](https://dashboard.gitguardian.com/workspace/75666/incidents/12320074) | Triggered | PostgreSQL Credentials | 2686205f238c67e038c64b9fcef25bd46a12ed66 | homework/毛栩櫟/issue276/test.ipynb | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/2686205f238c67e038c64b9fcef25bd46a12ed66#diff-ae4ca79838650139f815afd517965dcffed1778a11301df81dd509da23ba2cfeL67) | | [12320074](https://dashboard.gitguardian.com/workspace/75666/incidents/12320074) | Triggered | PostgreSQL Credentials | 2686205f238c67e038c64b9fcef25bd46a12ed66 | homework/毛栩櫟/issue276/test.ipynb | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/2686205f238c67e038c64b9fcef25bd46a12ed66#diff-ae4ca79838650139f815afd517965dcffed1778a11301df81dd509da23ba2cfeL114) | | [12397483](https://dashboard.gitguardian.com/workspace/75666/incidents/12397483) | Triggered | PostgreSQL Credentials | 2686205f238c67e038c64b9fcef25bd46a12ed66 | homework/洪振傑/issue276/lesson2.py | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/2686205f238c67e038c64b9fcef25bd46a12ed66#diff-530a8833bc4936a4b6e01c0d919c875cea49593ec13ce488f39c055f9c649ff1L51) | | [12794000](https://dashboard.gitguardian.com/workspace/75666/incidents/12794000) | Triggered | PostgreSQL Credentials | 99d8d0dc0b22883b070141baef396358c5f45640 | homework/孫義翔/issue276/youbike.py | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/99d8d0dc0b22883b070141baef396358c5f45640#diff-efe49260a2e4f715cafec1c1fcab4d7e979695285a3eaad875e342b058de5d7dL5) | | [12261666](https://dashboard.gitguardian.com/workspace/75666/incidents/12261666) | Triggered | PostgreSQL Credentials | 2686205f238c67e038c64b9fcef25bd46a12ed66 | homework/陳名畯/issue276/下午.py | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/2686205f238c67e038c64b9fcef25bd46a12ed66#diff-d2083699c9918ab3e407070fb72b31fcb16938cb077acd6c12493ade5eaaad8cL6) | | [12261666](https://dashboard.gitguardian.com/workspace/75666/incidents/12261666) | Triggered | PostgreSQL Credentials | 2686205f238c67e038c64b9fcef25bd46a12ed66 | homework/陳名畯/issue276/下午.py | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/2686205f238c67e038c64b9fcef25bd46a12ed66#diff-d2083699c9918ab3e407070fb72b31fcb16938cb077acd6c12493ade5eaaad8cL60) | | [12794011](https://dashboard.gitguardian.com/workspace/75666/incidents/12794011) | Triggered | PostgreSQL Credentials | 99d8d0dc0b22883b070141baef396358c5f45640 | homework/陳明勝/issue276/index.py | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/99d8d0dc0b22883b070141baef396358c5f45640#diff-e39b81a7b83d62933e20c2d2b12979acd01da81620d40b07fd844cfe74d96c24L6) |
🛠 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/secrets-detection-engine/detectors/specifics/postgres_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.