jhnnsrs / rath

rath is an apollo-like graphql client that supports links, multipart uploads, websocket subscriptions with sync and async interface
https://jhnnsrs.github.io/rath/
MIT License
9 stars 3 forks source link

Graphql-ws #20

Closed jhnnsrs closed 9 months ago

jhnnsrs commented 1 year ago

Add support for GraphQL ws also all link are by default lazy now

gitguardian[bot] commented 1 year ago

⚠️ GitGuardian has uncovered 3 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 | Secret | Commit | Filename | | | -------------- | ------------------------- | ---------------- | --------------- | -------------------- | | [7564545](https://dashboard.gitguardian.com/incidents/7564545?occurrence=106030849) | Generic Private Key | 9b7d092612e4dc4b470057dbbe4ba88392ab3c8b | tests/private_key.pem | [View secret](https://github.com/jhnnsrs/rath/commit/9b7d092612e4dc4b470057dbbe4ba88392ab3c8b#diff-e44dc51b812128814c39fc6a326b1df7df6dd337f8ea82a57306c5de1551b53aR1) | | [7564545](https://dashboard.gitguardian.com/incidents/7564545?occurrence=106030852) | Generic Private Key | 9b7d092612e4dc4b470057dbbe4ba88392ab3c8b | private_key.pem | [View secret](https://github.com/jhnnsrs/rath/commit/9b7d092612e4dc4b470057dbbe4ba88392ab3c8b#diff-72028c56d5d4ad6f2acc4b9a1ee24056445ca9f831883b504503161ab1307b17R1) | | [9020867](https://dashboard.gitguardian.com/incidents/9020867?occurrence=121301100) | GitHub OAuth App Keys | 4a2caaf22eae9e57e229cb45056db9bb8d9725ed | README.md | [View secret](https://github.com/jhnnsrs/rath/commit/4a2caaf22eae9e57e229cb45056db9bb8d9725ed#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R188) |
🛠 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/detectors/specifics/private_key_generic#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.

Our GitHub checks need improvements? Share your feedbacks!

codecov[bot] commented 9 months ago

Codecov Report

Attention: 93 lines in your changes are missing coverage. Please review.

Comparison is base (7de8a67) 89.98% compared to head (22221d5) 86.39%. Report is 11 commits behind head on master.

Files Patch % Lines
rath/links/compose.py 47.36% 20 Missing :warning:
rath/links/httpx.py 73.07% 14 Missing :warning:
rath/links/auth.py 63.33% 11 Missing :warning:
rath/links/testing/mock.py 70.37% 8 Missing :warning:
rath/links/sign_local_link.py 81.57% 7 Missing :warning:
rath/links/testing/statefulmock.py 84.61% 6 Missing :warning:
rath/links/transpile.py 28.57% 5 Missing :warning:
rath/turms/funcs.py 77.27% 5 Missing :warning:
rath/links/aiohttp.py 86.20% 4 Missing :warning:
rath/links/dictinglink.py 71.42% 4 Missing :warning:
... and 6 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #20 +/- ## ========================================== - Coverage 89.98% 86.39% -3.59% ========================================== Files 32 40 +8 Lines 1038 1323 +285 ========================================== + Hits 934 1143 +209 - Misses 104 180 +76 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.