Samagra-Development / devops

0 stars 0 forks source link

added db service to compose and create Dockerfile to build db container with ssh service #42

Open mohit4buntikki opened 4 months ago

mohit4buntikki commented 4 months ago

added db service to compose and create Dockerfile to build db container with ssh service added makefile trigger for setup-barman in barman server

gitguardian[bot] commented 4 months ago

⚠️ GitGuardian has uncovered 3 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 | | | -------------- | ------------------ | ------------------------------ | ---------------- | --------------- | -------------------- | | [13175821](https://dashboard.gitguardian.com/workspace/344702/incidents/13175821?occurrence=161539806) | Triggered | Generic Password | 3bab31bbe5c44db96944e3088691a94cdb357acc | common/db/docker-compose.yaml | [View secret](https://github.com/Samagra-Development/devops/commit/3bab31bbe5c44db96944e3088691a94cdb357acc#diff-c137fe0459696d94cdcd4476e7c08fa734768d8c51977169add3140603a45d1eR30) | | [13175821](https://dashboard.gitguardian.com/workspace/344702/incidents/13175821?occurrence=161579795) | Triggered | Generic Password | 3336d8b6884d4f0f071663d3589982b7c535f397 | common/db/docker-compose.yaml | [View secret](https://github.com/Samagra-Development/devops/commit/3336d8b6884d4f0f071663d3589982b7c535f397#diff-c137fe0459696d94cdcd4476e7c08fa734768d8c51977169add3140603a45d1eL30) | | [13175821](https://dashboard.gitguardian.com/workspace/344702/incidents/13175821?occurrence=161940807) | Triggered | Generic Password | 2e9d9db7ec27851e0dd860d16e1542c48aa196c4 | common/db/docker-compose.yaml | [View secret](https://github.com/Samagra-Development/devops/commit/2e9d9db7ec27851e0dd860d16e1542c48aa196c4#diff-c137fe0459696d94cdcd4476e7c08fa734768d8c51977169add3140603a45d1eL25) |
🛠 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.