graphql-ruby

May 4, 2022 · View on GitHub

Table of Contents

About

Language: Ruby
Source: https://github.com/rmosolgo/graphql-ruby
Documentation: https://graphql-ruby.org/

Security Considerations

graphql-ruby provides the following features which should be taken into consideration:

Field Suggestions Query Depth Limit Query Cost Analysis Automatic Persisted Queries Introspection Debug Mode Batch Requests

Enabled by Default

No Support
⚠️
Disabled by Default
⚠️
Disabled by Default

Enabled by Default

No Support

Enabled by Default

Request Validations

Total Validation Count: 28

GraphQL Ruby validates the following checks when a query is sent:

Document ValidationsOperation ValidationsField ValidationsArgument ValidationsFragment ValidationsValue ValidationsDirective ValidationsVariable ValidationsMisc. Validations
Mutation root existsFields are defined on typeArgument literals are compatibleFragment names are uniqueInput object names are uniqueDirectives are definedVariables default values are correctly typedNo definitions are present
Operation names are validFields have appropriate selectionsArgument names are uniqueFragment spreads are possibleRequired input object attributes are presentDirectives are in valid locationsVariable names are unique
Query root existsField will mergeArguments are definedFragment types existUnique directives per locationVariable usages are allowed
Subscription root existsRequried arguments are presentFragements are finiteVariables are input types
Fragments are namedVariables are used and defined
Fragments are on composite types

Security Disclosure

https://github.com/rmosolgo/graphql-ruby/issues