suxess-it / sx-cnp-oss

7 stars 1 forks source link

Add velero #407

Closed phac008 closed 1 month ago

gitguardian[bot] commented 1 month 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 | | | -------------- | ------------------ | ------------------------------ | ---------------- | --------------- | -------------------- | | [11773588](https://dashboard.gitguardian.com/workspace/556742/incidents/11773588?occurrence=162516195) | Triggered | Username Password | da82b3ffc3e1145c2d11f9b63b4b2f4fed2d087e | platform-apps/charts/vault/values-k3d.yaml | [View secret](https://github.com/suxess-it/sx-cnp-oss/commit/da82b3ffc3e1145c2d11f9b63b4b2f4fed2d087e#diff-ab696c168f7d5b84214895544333042a2c83eb4728792a4d58a070b64500af7aL163) | | [11773588](https://dashboard.gitguardian.com/workspace/556742/incidents/11773588?occurrence=162583535) | Triggered | Username Password | d498ec32ae2b55b2306f26a33d0880139d9a32fc | platform-apps/charts/vault/values-uibklab.yaml | [View secret](https://github.com/suxess-it/sx-cnp-oss/commit/d498ec32ae2b55b2306f26a33d0880139d9a32fc#diff-9a18dcd30d5903704162a6eed725d7b83092691296de36643feb36c1d906bb83L167) |
🛠 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/username_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.

github-actions[bot] commented 1 month ago
Changes Default Values ```diff ```
github-actions[bot] commented 1 month ago
Changes Rendered Chart ```diff diff -U 4 -r out/target/minio/values-k3d.yaml/sx-minio/charts/minio/templates/deployment.yaml out/pr/minio/values-k3d.yaml/sx-minio/charts/minio/templates/deployment.yaml --- out/target/minio/values-k3d.yaml/sx-minio/charts/minio/templates/deployment.yaml 2024-08-07 13:05:08.030212630 +0000 +++ out/pr/minio/values-k3d.yaml/sx-minio/charts/minio/templates/deployment.yaml 2024-08-07 13:04:46.674162060 +0000 @@ -26,9 +26,9 @@ labels: app: minio release: release-name annotations: - checksum/secrets: aa0e6c952622710b675dff4734fca5c28ed2b62beca00fdf67f359d85e03dc1c + checksum/secrets: 9546633ee7840adee563c7c02a2b87f661d263b9899472de3f377546031beec6 checksum/config: 6f6ba6a5a03406ec3288fab141f3dad876958d6c6c4bb7e2dfa88eea2e4e7eb0 spec: securityContext: runAsUser: 1000 diff -U 4 -r out/target/minio/values-k3d.yaml/sx-minio/charts/minio/templates/secrets.yaml out/pr/minio/values-k3d.yaml/sx-minio/charts/minio/templates/secrets.yaml --- out/target/minio/values-k3d.yaml/sx-minio/charts/minio/templates/secrets.yaml 2024-08-07 13:05:08.030212630 +0000 +++ out/pr/minio/values-k3d.yaml/sx-minio/charts/minio/templates/secrets.yaml 2024-08-07 13:04:46.674162060 +0000 @@ -10,6 +10,6 @@ release: release-name heritage: Helm type: Opaque data: - rootUser: "VzFEcjc4N2FMMzR0YWNWNFdteUE=" - rootPassword: "THlURVBJekF4SExIT29sdHpackJRRlZqYzZiZVhVZWIwNWRqRmxHZw==" + rootUser: "cHAzWlQ0Y0twRzYwMWE0MzViN0Y=" + rootPassword: "amVXakJOSzdOYjJLSjBUdFQxaVEyeWw2bFBhNm5hMGxyazJmdlNwbQ==" diff -U 4 -r out/target/minio/values-uibklab.yaml/sx-minio/charts/minio/templates/deployment.yaml out/pr/minio/values-uibklab.yaml/sx-minio/charts/minio/templates/deployment.yaml --- out/target/minio/values-uibklab.yaml/sx-minio/charts/minio/templates/deployment.yaml 2024-08-07 13:05:08.094212742 +0000 +++ out/pr/minio/values-uibklab.yaml/sx-minio/charts/minio/templates/deployment.yaml 2024-08-07 13:04:46.738162217 +0000 @@ -26,9 +26,9 @@ labels: app: minio release: release-name annotations: - checksum/secrets: 03051052649a1441f4bd7d7efe65fb2e04c742cccdfaae48f1beb55f55e5ca2c + checksum/secrets: ba274a24cd66f8131b2ebaece88eb157c83c160289904c8d7d1be9dc8f949224 checksum/config: bb3c204fc9f407a1117889047b975299e35b5b6de86215c265d8bce96350c79b spec: securityContext: runAsUser: 1000 diff -U 4 -r out/target/minio/values-uibklab.yaml/sx-minio/charts/minio/templates/secrets.yaml out/pr/minio/values-uibklab.yaml/sx-minio/charts/minio/templates/secrets.yaml --- out/target/minio/values-uibklab.yaml/sx-minio/charts/minio/templates/secrets.yaml 2024-08-07 13:05:08.094212742 +0000 +++ out/pr/minio/values-uibklab.yaml/sx-minio/charts/minio/templates/secrets.yaml 2024-08-07 13:04:46.738162217 +0000 @@ -10,6 +10,6 @@ release: release-name heritage: Helm type: Opaque data: - rootUser: "UmZQV2JEc3hTMDNtY1FOMFhkSEs=" - rootPassword: "ckFQbVNqOUR4TVZWUlZpV2xSSlBmWlVkTDlQVUhOZFhWbmxndlpZbg==" + rootUser: "RkEwZ1lQRGZQQ3cwN29kQVVwWm8=" + rootPassword: "QnZwcnVmSzQyUUN2dlU0WEViMjdnYjl5ZHo4OVFLODBhUkNaZzFUMg==" ```