Introspection query policy
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.
This change adds the introspectionQueryPolicy
resource type, which can be added same to the base policy via cli or the registry graphql gateway.
If the introspection query is not provided, it will be allowed by default (assuming GRAPHQL_INTROSPECTION
is true).