Soluto / stitch

Stitch is a no-code GraphQL tool for your existing APIs and data sources
MIT License
29 stars 8 forks source link

introspection query policy #337

Closed thewizarodofoz closed 3 years ago

thewizarodofoz commented 3 years ago

Currently stitch exposes GRAPHQL_INTROSPECTION with a default of true. Enabling the introspection query in production is a security vulnerability in some use cases, so we want to control access to the introspection query using a policy instead. If the introspection query is not provided, it will be allowed by default (assuming GRAPHQL_INTROSPECTION is true).