PDFs

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If your application contains sensitive data that should not be displayed in the Controller, you can apply the following data filters to the require statement for the Node.js Agent:

No Format
// Add a Sensitivesensitive Datadata Filterfilter 
dataFilters: [{
   "appliesTo": "http-headers",
   "matchPattern": "host"
}],

// Add a Sensitivesensitive URL Filterfilter 
urlFilters: [{
   "delimiter": "/",
   "segment": "1",
   "matchPattern": "a",
   "paramPattern": "bar"
}],

// Add a Sensitivesensitive message Filterfilter 
messageFilters: [{
   "messageType": "throwable",
   "matchPattern": "Error.*proxy.",
   "redactionRegex": "proxy"
}]

...