-
Notifications
You must be signed in to change notification settings - Fork 244
feat(router): disallow inline argument values (ENG-9586) #3044
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
Closed
+1,977
−164
Closed
Changes from 3 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
be73d6d
feat(router): add disallow inline arguments security policy
gausie 315f6ca
feat(router): add per-client observability for inline argument detection
gausie b3c4900
feat(router): apply disallow inline arguments policy to websocket ope…
gausie 8791b5d
Merge branch 'main' into worktree-playful-rolling-lecun
gausie d9f9af9
docs(router): document disallow inline arguments security policy
gausie 8b6ed63
fix(router): handle final write errors and add env overrides for disa…
gausie f3d440a
test(router): add inline argument detection case for empty input object
gausie e70d13f
Merge branch 'main' into worktree-playful-rolling-lecun
gausie 24faed2
Merge remote-tracking branch 'origin/main' into worktree-playful-roll…
gausie 05ea1d0
Merge remote-tracking branch 'origin/main' into worktree-playful-roll…
gausie 79649a6
feat(router): check inline arguments on the normalized pre-extraction…
gausie 87d9e25
fix(router): apply disallow inline arguments policy to APQ and reject…
gausie 5b03e6f
refactor(router): store inline arguments checker on the operation pro…
gausie 734f58c
fix(router): skip inline arguments check for schema-invalid operations
gausie 128a45f
refactor(router): reuse shared error types for the inline arguments p…
gausie 5853905
fix(router): validate enforce_http_status_code range at startup
gausie 4dbd4aa
fix(router): record inline arguments error code in the request context
gausie 8f21dcf
fix(router): annotate the initial defer payload with the inline argum…
gausie ad314a8
fix(router): classify registered persisted operations sent as body pl…
gausie b67ca32
test(router): cover batching and introspection in disallow inline arg…
gausie b283df6
refactor(router): simplify disallow inline arguments after review
gausie File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
382 changes: 382 additions & 0 deletions
382
router-tests/security/disallow_inline_arguments_test.go
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.