suculent / thinx-device-api

Remote IoT Device Management Platform
https://thinx.cloud
Other
23 stars 10 forks source link

updates for staging #447

Closed suculent closed 10 months ago

coveralls commented 10 months ago

Coverage Status

coverage: 71.777%. first build when pulling 78eeed6931a243ca63bccd1d4bc97e5b0c8398c6 on thinx-staging into cef194f4750ec4b61bbaaef6755fa749583a2aed on main.

gitguardian[bot] commented 10 months 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 | | | -------------- | ------------------------- | ---------------- | --------------- | -------------------- | | [455](https://dashboard.gitguardian.com/incidents/455?occurrence=82484107) | Generic High Entropy Secret | 498620f8e3e085fe48b1496a82eab93915239815 | .coveralls.yml | [View secret](https://github.com/suculent/thinx-device-api/commit/498620f8e3e085fe48b1496a82eab93915239815#diff-68548ad3a505f8b20465ecb78340a753b45445147172a034b679c7c43da944fcL1) | | [455](https://dashboard.gitguardian.com/incidents/455?occurrence=82353046) | Generic High Entropy Secret | 2b23f235ab172846ea5e535c9ed3a2092468f38a | .coveralls.yml | [View secret](https://github.com/suculent/thinx-device-api/commit/2b23f235ab172846ea5e535c9ed3a2092468f38a#diff-68548ad3a505f8b20465ecb78340a753b45445147172a034b679c7c43da944fcL1) |
🛠 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/generic_high_entropy_secret#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!

ghost commented 10 months ago
👇 Click on the image for a new way to code review #### [![Review these changes using an interactive CodeSee Map](https://s3.us-east-2.amazonaws.com/maps.codesee.io/images/github/suculent/thinx-device-api/447/1f9e1d84/78eeed6931a243ca63bccd1d4bc97e5b0c8398c6.svg)](https://app.codesee.io/r/reviews?pr=447&src=https%3A%2F%2Fgithub.com%2Fsuculent%2Fthinx-device-api) #### Legend CodeSee Map legend