culturecreates / footlight-app

Footlight CMS Front-end
https://cms.footlight.io
3 stars 0 forks source link

Feature/issue 1294 #1403

Closed AbhishekPAnil closed 1 month ago

gitguardian[bot] commented 1 month ago

⚠️ GitGuardian has uncovered 4 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 | GitGuardian status | Secret | Commit | Filename | | | -------------- | ------------------ | ------------------------------ | ---------------- | --------------- | -------------------- | | [13477044](https://dashboard.gitguardian.com/workspace/580091/incidents/13477044?occurrence=167494088) | Triggered | Google API Key | 319090821003c4f53fd94b99bb167665daae6c9b | src/components/MapComponent/MapComponent.jsx | [View secret](https://github.com/culturecreates/footlight-app/commit/319090821003c4f53fd94b99bb167665daae6c9b#diff-62c7b76af489e0b24334b37696f2e75f82f557b3d96a624c28fd25427ae21396R36) | | [13477044](https://dashboard.gitguardian.com/workspace/580091/incidents/13477044?occurrence=167494462) | Triggered | Google API Key | fb9710d0860a5ee28bd76b0c310900b2ef92864f | src/components/MapComponent/MapComponent.jsx | [View secret](https://github.com/culturecreates/footlight-app/commit/fb9710d0860a5ee28bd76b0c310900b2ef92864f#diff-62c7b76af489e0b24334b37696f2e75f82f557b3d96a624c28fd25427ae21396L36) | | [13477044](https://dashboard.gitguardian.com/workspace/580091/incidents/13477044?occurrence=167494463) | Triggered | Google API Key | fb9710d0860a5ee28bd76b0c310900b2ef92864f | .env.production | [View secret](https://github.com/culturecreates/footlight-app/commit/fb9710d0860a5ee28bd76b0c310900b2ef92864f#diff-48f73ea2653e45c41f31afc2d42dfde14d8caf26d8dd24d3d2a81a52604f4cb6R18) | | [13477044](https://dashboard.gitguardian.com/workspace/580091/incidents/13477044?occurrence=167494464) | Triggered | Google API Key | fb9710d0860a5ee28bd76b0c310900b2ef92864f | .env.staging | [View secret](https://github.com/culturecreates/footlight-app/commit/fb9710d0860a5ee28bd76b0c310900b2ef92864f#diff-53003b50d89f576ea396020048779f70e1f21c14f36ac067c52c269e041c50d9R18) |
🛠 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/googleaiza#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.

aws-amplify-ca-central-1[bot] commented 1 month ago

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-1403.dla06mbe0wyl7.amplifyapp.com