-
Notifications
You must be signed in to change notification settings - Fork 378
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
GraphQL threats detection and protection #3769
Merged
Merged
Changes from 33 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
551f932
Update docs
vpellan 7266a20
Add GraphQL AppSec integration architecture (without reactive engine)
vpellan 1cc1d9a
Add rbs files for GraphQL AppSec
vpellan e52d022
Add throw/catch to stop execution of query
vpellan 3c64cf2
Add reactive_engine for GraphQL resolvers
vpellan 0873678
Add graphql reactive engine sig
vpellan 5708dfd
Fix undefined var in error_query
vpellan 85a73e4
Fix typo for fetch_configuration
vpellan 785d122
Add GraphQL custom JSON block response
vpellan 10158e1
Added iterative tree traversal to get arguments on execute_multiplex
vpellan 2028b55
Add graphql.server.all_resolvers blocking
vpellan b182075
Remove blocking on individual resolvers
vpellan 336a0e8
Add reactive engine multiplex tests
vpellan b419dbe
Fixed typing
vpellan b9127c0
Factorize reactive engine specs
vpellan 8fa09d0
Extracted multiplex creation in separate helper
vpellan 04460fb
Add multiplex gateway tests
vpellan b222c21
Added userByName in test schema
vpellan 372a99e
Added basic GraphQL query & multiplex tests
vpellan 86bd19f
Added integration tests & rake task for ruby 3.2
vpellan f977319
Added GraphQL 2.3 appraisals & added Rails to GraphQL appraisals (for…
vpellan a28d284
Added more integration tests
vpellan e6c83da
Update jruby gemfiles
vpellan 6fdd46a
Removed code that belongs to rack
vpellan 4727301
Added more integration tests
vpellan 246907e
Add custom JSON + fix blocking query test
vpellan 58fcaa5
Added multiplex integration test
vpellan d6285df
Added mutation testing
vpellan 6e274dc
Update libdatadog in ruby-3.3-graphql-2.3 gemfile
vpellan 5aa2ed6
Add support for Ruby 3.4
vpellan 4798b11
Fix appraisals gemfile.lock
vpellan 16cf884
Add type signature
vpellan 6ed85c9
Removed redundant comment
vpellan 93ef101
remove ext file
vpellan 5f4f191
moved dynamically loaded require to top level loaded
vpellan 9295cad
Separate GraphQL response generation from blocking detection
vpellan 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
This file contains 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 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 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 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 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 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 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 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 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 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 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 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 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 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
ruby-
prefix seems odd. Shouldn't it simply begraphql
? (Really I don't know)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree but this has been added 6 years ago, maybe we should create a new PR about it ?