Skip to content

[Sec] Enable / disable GraphQL API Introspection using CUBEJS_GRAPHQL_API_INTROSPECTION_ENABLED env var#191

Draft
foolOnTheHill wants to merge 1 commit intomasterfrom
feat/handle-graphql-api-introspection
Draft

[Sec] Enable / disable GraphQL API Introspection using CUBEJS_GRAPHQL_API_INTROSPECTION_ENABLED env var#191
foolOnTheHill wants to merge 1 commit intomasterfrom
feat/handle-graphql-api-introspection

Conversation

@foolOnTheHill
Copy link

@foolOnTheHill foolOnTheHill commented Feb 6, 2026

This PR adds the CUBEJS_GRAPHQL_API_INTROSPECTION_ENABLED to allow control over enabling / disabling the GraphQL API introspection.

@foolOnTheHill foolOnTheHill self-assigned this Feb 6, 2026
Comment on lines +270 to +272
...(!getEnv('graphQlApiIntrospectionEnabled') && {
validationRules: [...specifiedRules, NoSchemaIntrospectionCustomRule],
})
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@foolOnTheHill foolOnTheHill force-pushed the feat/handle-graphql-api-introspection branch from 5faba25 to 55ce7d3 Compare February 6, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant