ZahraMammadli / TheBoringApp

1 stars 2 forks source link

Feature/error message youtube quota #40

Closed nnassarv closed 2 years ago

nnassarv commented 2 years ago

I added a list of preselected videos to randomly select one and display it when the youtube quota is reached. Also an error message will be displayed explaining what happened

@queenmcsteve @ZahraMammadli @Zeitouna please take a look

gitguardian[bot] commented 2 years ago

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

🔎 Details of the secret
| Secret | Commit | Filename | Detected At | | | ------------------------- | ---------------- | --------------- | -------------------- | -------------------- | | Google API Key | 66a37a28ed137aa5169dc4e76a5c62b3c6bb0242 | asset/js/youtube.js | 07:35 November 5th, 2021 | [View secret](https://github.com/ZahraMammadli/TheBoringApp/commit/66a37a28ed137aa5169dc4e76a5c62b3c6bb0242#diff-8ca99659b89975e371f013be4c3ac20a25bf6943fe3fb3df57e3747334bae7d6L1) | | Google API Key | 66a37a28ed137aa5169dc4e76a5c62b3c6bb0242 | asset/js/youtube.js | 07:35 November 5th, 2021 | [View secret](https://github.com/ZahraMammadli/TheBoringApp/commit/66a37a28ed137aa5169dc4e76a5c62b3c6bb0242#diff-8ca99659b89975e371f013be4c3ac20a25bf6943fe3fb3df57e3747334bae7d6L2) | | Google API Key | 66a37a28ed137aa5169dc4e76a5c62b3c6bb0242 | asset/js/youtube.js | 07:35 November 5th, 2021 | [View secret](https://github.com/ZahraMammadli/TheBoringApp/commit/66a37a28ed137aa5169dc4e76a5c62b3c6bb0242#diff-8ca99659b89975e371f013be4c3ac20a25bf6943fe3fb3df57e3747334bae7d6L4) | | Google API Key | 66a37a28ed137aa5169dc4e76a5c62b3c6bb0242 | asset/js/youtube.js | 07:35 November 5th, 2021 | [View secret](https://github.com/ZahraMammadli/TheBoringApp/commit/66a37a28ed137aa5169dc4e76a5c62b3c6bb0242#diff-8ca99659b89975e371f013be4c3ac20a25bf6943fe3fb3df57e3747334bae7d6R4) | | Generic High Entropy Secret | 1ccb58a0e01189f8d00f04bd1176b0ab6d30b8ab | asset/js/contactus.js | 17:23 November 5th, 2021 | [View secret](https://github.com/ZahraMammadli/TheBoringApp/commit/1ccb58a0e01189f8d00f04bd1176b0ab6d30b8ab#diff-30f8958386f07a8890d8a263fca28fa7a6e75ae7a8e12a3b3a9dad18d5439d46R16) |
🛠 How to resolve this 1. Understand the implications of revoking this secret by examining where it is used in your code. 2. Replace and store your secret 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 this secret](https://docs.gitguardian.com/secrets-detection/detectors/specifics/private_key_openssh#revoke-the-secret?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) 4. If possible, [rewrite your git history](https://blog.gitguardian.com/rewriting-git-history-cheatsheet?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) to remove all evidence of the secret leak. Please beware this is not a trivial operation. You might completely break other contributing developers’ workflow and you risk accidentally deleting work in progress.

:bulb: To avoid such incidents in the future, consider following these best practices for managing and storing secrets including API keys and other credentials.

You are seeing this because you or someone else has authorized GitGuardian to scan pull requests