doyensec / GQLSpection

GQLSpection - parses GraphQL introspection schema and generates possible queries
Apache License 2.0
66 stars 7 forks source link

Determine server's GraphQL spec version #29

Closed execveat closed 1 year ago

execveat commented 1 year ago

GQLSpection includes three introspection queries for different GraphQL spec versions, but we're not actually using them when requesting introspection from the server.

Implement fallback strategy similar to https://github.com/doyensec/inql/blob/dev/python/inql/scanner/introspection.py#L46 and optionally output the identified GraphQL spec version.