codeenigma / ce-provision

6 stars 5 forks source link

R70797 fix vars in template pr devel 2.x #2039

Closed nfawbert closed 3 weeks ago

gitguardian[bot] commented 3 weeks 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 | GitGuardian status | Secret | Commit | Filename | | | -------------- | ------------------ | ------------------------------ | ---------------- | --------------- | -------------------- | | [5773360](https://dashboard.gitguardian.com/workspace/347374/incidents/5773360?occurrence=139624758) | Triggered | Generic Password | 65f72f43b69ec6d7042ab50017c918908d4dc5e1 | install.sh | [View secret](https://github.com/codeenigma/ce-provision/commit/65f72f43b69ec6d7042ab50017c918908d4dc5e1#diff-043df5bdbf6639d7a77e1d44c5226fd7371e5259a1e4df3a0dd5d64c30dca44fR279) | | [11380256](https://dashboard.gitguardian.com/workspace/347374/incidents/11380256?occurrence=144775952) | Triggered | Username Password | bb1d5cdac305b1d8f0b620517bde1336dda09ba3 | roles/debian/wazuh/defaults/main.yml | [View secret](https://github.com/codeenigma/ce-provision/commit/bb1d5cdac305b1d8f0b620517bde1336dda09ba3#diff-e458e3d16a1508c03df85edc5654422734af2e4d3ff117823c0ff5076958f80cL153) |
🛠 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/generics/generic_password#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.

sonarcloud[bot] commented 3 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud