hasura / hasura/graphql-engine

`Insecure TLS Allow List` should support environment variable

Open
#8,536 0 comments 0 reactions 0 assignees View on GitHub
k/enhancement
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

### Is your proposal related to a problem?

`Insecure TLS Allow List` only support domain name, however, we do have paired webhook endpoint across different environments. For example, Hasura-DEV -> Webhook-DEV, Hasura-QA --> Webhook-QA, Hasura-PROD --> Webhook-PROD.
The `Insecure TLS Allow List` in managed by metadata, it should use same metadata to deploy on DET, QA and PROD.
It's not make sense to config all domain name(Webhook-DEV, Webhook-QA, Webhook-PROD) together with each Hasura environment.

### Describe the solution you'd like

We'd better support environment variable configuration, so that we could define different endpoint domain name within related Hasura Engine.

Contributor guide

Open the contributing guide

Research direction

Start by locating the configuration entry point for the Insecure TLS Allow List and how its metadata is deployed across Hasura environments. The change is complete when the allow list can resolve an environment-specific endpoint domain while retaining metadata-based deployment.

Written by the indexing model from the issue text.

Assessment

Domain
backend, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.