Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: support openai service account apikey format #3078

Merged
merged 1 commit into from
Jul 5, 2024

fix: support openai service account apikey format

73c3c66
Select commit
Loading
Failed to load commit list.
Merged

fix: support openai service account apikey format #3078

fix: support openai service account apikey format
73c3c66
Select commit
Loading
Failed to load commit list.
GitGuardian / GitGuardian Security Checks failed Jul 5, 2024 in 31s

8 secrets uncovered!

8 secrets was uncovered from the scan of 1 commit in your pull request. ❌

Please have a look to GitGuardian findings and remediate in order to secure your code.

Details

🔎 Detected hardcoded secrets in your pull request

  • Pull request #3078: shaun/fix/openai-api-key-validation 👉 main
GitGuardian id GitGuardian status Secret Commit Filename
- Generic High Entropy Secret 73c3c66 test/oai/test_utils.py View secret
10404693 Triggered Generic High Entropy Secret 73c3c66 test/oai/test_utils.py View secret
- Generic High Entropy Secret 73c3c66 test/oai/test_utils.py View secret
- Generic High Entropy Secret 73c3c66 test/oai/test_utils.py View secret
- Generic High Entropy Secret 73c3c66 test/oai/test_utils.py View secret
10404696 Triggered Generic High Entropy Secret 73c3c66 test/oai/test_utils.py View secret
10422482 Triggered Generic High Entropy Secret 73c3c66 test/oai/test_utils.py View secret
- Generic High Entropy Secret 73c3c66 test/oai/test_utils.py View secret

🛠 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 the best practices.
  3. Revoke and rotate these secrets.
  4. 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


🦉 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.