Disable introspection on cloud

Is it possible to disable introspection on Dgraph Cloud?

2 Likes

It’s currently not possible to disable schema introspection on Dgraph Cloud backends.

Is this something that can be added as an option for security purposes?

Some of the functionality of Dgraph Cloud requires schema introspection to be enabled. For instance, the GraphQL Explorer uses schema introspection to display explorer query and mutation requests and for the GraphQL auto-completion in the editor.

I don’t think we’ll add a publically-facing option anytime soon. That said, if you want to turn off introspection for your backend, we can do it for you. Contact support in your backend dashboard and we can help you from there.