Update gRPC_Security_Cheat_Sheet by adding example for preventing resource exhaustion#2043
Open
lidiiafedynchuk wants to merge 2 commits intoOWASP:masterfrom
Open
Update gRPC_Security_Cheat_Sheet by adding example for preventing resource exhaustion#2043lidiiafedynchuk wants to merge 2 commits intoOWASP:masterfrom
lidiiafedynchuk wants to merge 2 commits intoOWASP:masterfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the gRPC Security Cheat Sheet to address resource exhaustion risks in streaming RPCs by adding guidance and a Go example that attempts to cap streaming message counts and session duration.
Changes:
- Adds a recommendation to limit streaming session duration and maximum messages per stream.
- Adds a Go code example demonstrating message-count and duration limiting logic for streaming.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
jmanico
approved these changes
Mar 4, 2026
Contributor
Author
|
@szh could you please review when you get a chance. Thank you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update gRPC_Security_Cheat_Sheet by adding example for preventing resource exhaustion
You're A Rockstar
Thank you for submitting a Pull Request (PR) to the Cheat Sheet Series.
Please make sure that for your contribution:
[TEXT](URL)If your PR is related to an issue, please finish your PR text with the following line:
This PR fixes issue #2030.
AI Tool Usage Disclosure (required for all PRs)
Please select one of the following options:
the contents and I affirm the results. The LLM used is
[llm name and version]and the prompt used is
[your prompt here]. [Feel free to add more details if needed]Thank you again for your contribution 😃