kics
kics copied to clipboard
update(query): add CWE infos to K8s queries
Reason for Proposed Changes
- K8s queries don't provide cwe infos;
Proposed Changes
- add CWE infos to all K8s queries;
- add cloudProvider to queries metadata;
I submit this contribution under the Apache-2.0 license.

KICS version: v2.1.1
|
|
⚠️ GitGuardian has uncovered 6 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 | |
|---|---|---|---|---|---|
| 4266006 | Triggered | Generic Password | 6aed33090ef3f1ace2f3f62d6ee894bf2ea35c8b | assets/queries/common/passwords_and_secrets/test/negative32.yaml | View secret |
| 4266006 | Triggered | Generic Password | 6aed33090ef3f1ace2f3f62d6ee894bf2ea35c8b | assets/queries/common/passwords_and_secrets/test/negative42.yaml | View secret |
| 4266030 | Triggered | Generic Password | 6aed33090ef3f1ace2f3f62d6ee894bf2ea35c8b | assets/queries/common/passwords_and_secrets/test/positive8.json | View secret |
| 4266030 | Triggered | Generic Password | 6aed33090ef3f1ace2f3f62d6ee894bf2ea35c8b | assets/queries/common/passwords_and_secrets/test/positive8.json | View secret |
| 4266030 | Triggered | Generic Password | 6aed33090ef3f1ace2f3f62d6ee894bf2ea35c8b | assets/queries/common/passwords_and_secrets/test/positive8.json | View secret |
| 4266030 | Triggered | Generic Password | 6aed33090ef3f1ace2f3f62d6ee894bf2ea35c8b | assets/queries/common/passwords_and_secrets/test/positive8.json | 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.






