apollo-newrelic-extension icon indicating copy to clipboard operation
apollo-newrelic-extension copied to clipboard

Nurelic Extn Printing PII data

Open khirod-dev opened this issue 5 years ago • 0 comments

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 ?

khirod-dev avatar Nov 06 '19 01:11 khirod-dev