apollo-newrelic-extension
apollo-newrelic-extension copied to clipboard
Nurelic Extn Printing PII data
HI ,
We are using "apollo-newrelic-extension": "^0.1.1"
package with our GraphQL implementation at server side to see the Query details . We see that in Nurelic, Variables values are populated (Which is fine). But, it is a security concern. As some time when request contains PII data it is getting logged in Nurelic as Plain Text filed.
I believe Following code is printing the variable values
newrelic.addCustomAttribute('gqlVars', JSON.stringify(variables))
Is there any way we can interject that before printing to remove PII data or obfuscate the PII data by a custom function ?