Wavemind / liwi-backend

Other
0 stars 1 forks source link

Bump ruby and rails version #190

Closed quentingirard closed 1 year ago

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 | | | -------------- | ------------------------- | ---------------- | --------------- | -------------------- | | [4878002](https://dashboard.gitguardian.com/incidents/4878002?occurrence=88090015) | AWS Keys | 85eca5e5b80326bae886b2c8d5b682056f5e4079 | config/initializers/carrierwave.rb | [View secret](https://github.com/Wavemind/liwi-backend/commit/85eca5e5b80326bae886b2c8d5b682056f5e4079#diff-1952da38949500a1e730f9fe1f6920af0a00b62ef159fad2d0d8ee7939f93d4fL6) | | [4878002](https://dashboard.gitguardian.com/incidents/4878002?occurrence=88396929) | AWS Keys | 0c2411342d90664d4f1d6f34073ea5b7e26212db | app/uploaders/technical_file_uploader.rb | [View secret](https://github.com/Wavemind/liwi-backend/commit/0c2411342d90664d4f1d6f34073ea5b7e26212db#diff-9187cd9d700c2c7a6f72f35ac0b04d76e764c06f7d7389af04580a54721382c6L26) |
🛠 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/aws_iam#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://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!

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication