-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Personal data logged out in the json format #2695
Comments
which spans are affected? How is telemetry configured, especially the |
The name of the span is |
We have not changed the |
Ah, right. For data sent to Apollo, all the hardcoded variable values are removed, but probably not for other telemetry options. |
Our API is used directly by all our customers. In our current implementation, we remove all values on variables before logging the query. |
I understand, but the query content, with variables tweaking the behaviour, is useful to investigate production issues. |
I don't know the exact proportion, but it's quite important. Maybe a plugin could remove those values if they need with a middleware? |
For me, implementing #1651 would be sufficient. Then I'd create my own json logger that would not log the query. |
This also relates to work that is getting discussed in #3226 in terms of toggling these options on and off. |
ok for me |
Is your feature request related to a problem? Please describe.
When using the jons format, the spans are also logged.
In some spans, the graphql variables and document are logged:
Those values could log some personal data.
As far as I've checked,
"apollo_private.graphql.variables"
does not seem to disclose any value.But
"graphql.document"
can disclose some personal data:Ex:
Describe the solution you'd like
Describe alternatives you've considered
No real alternative. The application should not log any personal data.
.
The text was updated successfully, but these errors were encountered: