Azure / azure-webpubsub

Azure Web PubSub Service helps you to manage WebSocket connections and do publish and subscribe in an easy way
https://azure.github.io/azure-webpubsub/
MIT License
130 stars 84 forks source link

New Feature: Open API Tool #744

Closed jiangy10 closed 2 months ago

jiangy10 commented 2 months ago

This pull request introduces a tool that functions like Postman, allowing users to load Open API specification JSON files and interact with APIs through a user-friendly interface. Users can view endpoints, fill in parameters, send requests, and see responses. The tool organizes parameters and schemas clearly, making API testing and development easier and more efficient. The interface provides sections for general, groups, connections, users, and permissions, streamlining navigation and interaction with the API.

gitguardian[bot] commented 2 months 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 | | | -------------- | ------------------ | ------------------------------ | ---------------- | --------------- | -------------------- | | [-](https://dashboard.gitguardian.com/workspace/253689/incidents/secrets) | | Bearer Token | 33e267105a3032ddf555bb78fe43c4b744b22273 | tools/awps-tunnel/client/src/components/api/Parameters.tsx | [View secret](https://github.com/Azure/azure-webpubsub/commit/33e267105a3032ddf555bb78fe43c4b744b22273#diff-58b032455783bec5e9c95a5abf30a6b89bc4dbf5d8969d552d2c85f447841868L149) | | [-](https://dashboard.gitguardian.com/workspace/253689/incidents/secrets) | | Bearer Token | 57e837d10c781ce849a0ef005a89ade5c36f592d | tools/awps-tunnel/client/src/components/api/Parameters.tsx | [View secret](https://github.com/Azure/azure-webpubsub/commit/57e837d10c781ce849a0ef005a89ade5c36f592d#diff-58b032455783bec5e9c95a5abf30a6b89bc4dbf5d8969d552d2c85f447841868R149) |
🛠 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/bearer_token#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.