hasura / hasura/graphql-engine

UI support for enabling query variables in http-log log output for EE edition

Open
#9,766 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?

Currently, in cloud the monitoring tab provides the UI for including query variables in the logs when user inspects it. This isn't the case for EE edition.

We don’t print variables by default in EE so that customers don’t leak sensitive data by mistake, which is a common compliance concern for our customers.

### Describe the solution you'd like

A proper UI section (in settings page maybe) for Hasura EE where user can have option to include/discard query variables from log output.

### Describe alternatives you've considered

The workaround can be done by manually editing metadata to enable query variables getting printed out.

Here's the section/part of the metadata where you need to change
```json
"metrics_config": {
"analyze_query_variables": true,
"analyze_response_body": false
},
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.