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

[.NET] Return ChatCompletions instead of ChatResponseMessage for token usage. #2545

Merged

Merge main

d6f0404
Select commit
Loading
Failed to load commit list.
Merged

[.NET] Return ChatCompletions instead of ChatResponseMessage for token usage. #2545

Merge main
d6f0404
Select commit
Loading
Failed to load commit list.
GitGuardian / GitGuardian Security Checks failed May 1, 2024 in 4m 59s

40 secrets uncovered!

40 secrets were uncovered from the scan of 250 commits 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 #2545: u/davidluong98/dotnet-2535 👉 main
GitGuardian id GitGuardian status Secret Commit Filename
10404693 Triggered Generic High Entropy Secret b0f1693 test/oai/test_utils.py View secret
10404693 Triggered Generic High Entropy Secret 3f7c648 test/oai/test_utils.py View secret
10404693 Triggered Generic High Entropy Secret 58e27f2 test/oai/test_utils.py View secret
10404693 Triggered Generic High Entropy Secret 4d24b68 test/oai/test_utils.py View secret
10404693 Triggered Generic High Entropy Secret 5903c9c test/oai/test_utils.py View secret
10404662 Triggered Generic CLI Secret d58f2c8 .github/workflows/dotnet-release.yml View secret
10404694 Triggered Generic High Entropy Secret 4d24b68 test/oai/test_utils.py View secret
10404694 Triggered Generic High Entropy Secret 58e27f2 test/oai/test_utils.py View secret
10404694 Triggered Generic High Entropy Secret 3f7c648 test/oai/test_utils.py View secret
10404694 Triggered Generic High Entropy Secret b0f1693 test/oai/test_utils.py View secret
10404694 Triggered Generic High Entropy Secret 5903c9c test/oai/test_utils.py View secret
10404695 Triggered Generic High Entropy Secret 5903c9c test/oai/test_utils.py View secret
10404695 Triggered Generic High Entropy Secret 58e27f2 test/oai/test_utils.py View secret
10404695 Triggered Generic High Entropy Secret 3f7c648 test/oai/test_utils.py View secret
10404695 Triggered Generic High Entropy Secret 4d24b68 test/oai/test_utils.py View secret
10404695 Triggered Generic High Entropy Secret b0f1693 test/oai/test_utils.py View secret
10404696 Triggered Generic High Entropy Secret 4d24b68 test/oai/test_utils.py View secret
10404696 Triggered Generic High Entropy Secret 5903c9c test/oai/test_utils.py View secret
10404696 Triggered Generic High Entropy Secret 58e27f2 test/oai/test_utils.py View secret
10404696 Triggered Generic High Entropy Secret 3f7c648 test/oai/test_utils.py View secret
10404696 Triggered Generic High Entropy Secret b0f1693 test/oai/test_utils.py View secret
10404662 Triggered Generic CLI Secret 43892f0 .github/workflows/dotnet-build.yml View secret
10404662 Triggered Generic CLI Secret 01b15c4 .github/workflows/dotnet-build.yml View secret
10404662 Triggered Generic CLI Secret 43892f0 .github/workflows/dotnet-build.yml View secret
10404662 Triggered Generic CLI Secret 4bb63f5 .github/workflows/dotnet-build.yml View secret
10404662 Triggered Generic CLI Secret aa96c44 .github/workflows/dotnet-build.yml View secret
10404662 Triggered Generic CLI Secret 43892f0 .github/workflows/dotnet-build.yml View secret
10404662 Triggered Generic CLI Secret 01b15c4 .github/workflows/dotnet-build.yml View secret
10404662 Triggered Generic CLI Secret 01b15c4 .github/workflows/dotnet-build.yml View secret
10404662 Triggered Generic CLI Secret 2cf0768 .github/workflows/dotnet-build.yml View secret
10404662 Triggered Generic CLI Secret aa96c44 .github/workflows/dotnet-build.yml View secret
10404662 Triggered Generic CLI Secret 2cf0768 .github/workflows/dotnet-build.yml View secret
10404662 Triggered Generic CLI Secret 1ca29af .github/workflows/dotnet-build.yml View secret
10404662 Triggered Generic CLI Secret 4bb63f5 .github/workflows/dotnet-build.yml View secret
10404662 Triggered Generic CLI Secret 4bb63f5 .github/workflows/dotnet-build.yml View secret
10404662 Triggered Generic CLI Secret 43892f0 .github/workflows/dotnet-build.yml View secret
10404662 Triggered Generic CLI Secret 01b15c4 .github/workflows/dotnet-build.yml View secret
10404662 Triggered Generic CLI Secret 4bb63f5 .github/workflows/dotnet-build.yml View secret
10404662 Triggered Generic CLI Secret 1ca29af .github/workflows/dotnet-build.yml View secret
10404662 Triggered Generic CLI Secret 0369ec7 .github/workflows/dotnet-release.yml 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.