update(query): add CWE information to volume_has_sensitive_host_directory #7153
GitGuardian / GitGuardian Security Checks
skipped
Sep 19, 2024 in 32s
You skipped this GitGuardian alert
6 secrets were uncovered from the scan of 12 commits in your pull request. ❌
Please have a look to GitGuardian findings and remediate in order to secure your code.
Since your pull request originates from a forked repository, GitGuardian is not able to associate the secrets uncovered with secret incidents on your GitGuardian dashboard.
Skipping this check run and merging your pull request will create secret incidents on your GitGuardian dashboard.
Details
🔎 Detected hardcoded secrets in your pull request
- Pull request #7153:
patch-1
👉master
GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
---|---|---|---|---|---|
4266030 | Triggered | Generic Password | b711135 | assets/queries/common/passwords_and_secrets/test/positive8.json | View secret |
4266030 | Triggered | Generic Password | b711135 | assets/queries/common/passwords_and_secrets/test/positive8.json | View secret |
4266030 | Triggered | Generic Password | b711135 | assets/queries/common/passwords_and_secrets/test/positive8.json | View secret |
4266030 | Triggered | Generic Password | b711135 | assets/queries/common/passwords_and_secrets/test/positive8.json | View secret |
4266006 | Triggered | Generic Password | b711135 | assets/queries/common/passwords_and_secrets/test/negative32.yaml | View secret |
4266006 | Triggered | Generic Password | b711135 | assets/queries/common/passwords_and_secrets/test/negative42.yaml | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secrets safely. Learn here the best practices.
- Revoke and rotate these secrets.
- If possible, rewrite git history. 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 for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit 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.
Loading