Sentry-javascript: "Additional data" displays [Filtered], replaced by PII rule creditcard:filter

Created on 24 Feb 2020  路  3Comments  路  Source: getsentry/sentry-javascript

Package + Version

  • [x] @sentry/browser
  • [ ] @sentry/node
  • [ ] raven-js
  • [ ] raven-node _(raven for node)_
  • [ ] other:

Version:

5.12.1

Description

I'm trying to integrate fullstory with sentry by sending fullstory session url to sentry as additional data, like below:

  /**
   * https://help.fullstory.com/hc/en-us/articles/360020828073-FS-getCurrentSessionURL-Retrieving-a-session-URL-at-time-of-recording
   * https://help.fullstory.com/hc/en-us/articles/360020624234-Roll-Your-Own-Integration
   */
  // eslint-disable-next-line no-underscore-dangle
  window._fs_ready = () => {
    Sentry.configureScope((scope) => {
      scope.setExtra('fullstoryUrl', window.FS.getCurrentSessionURL());
    });
  };

In the sentry web application, the fullstoryUrl appears but has filtered out some parts by PII creditcard:filter rule, like below:

Zrzut ekranu 2020-02-24 o 16 54 40

fullstoryUrl looks like that:

https://app.fullstory.com/ui/<accountId>/session/5472936014675968%3A4548674178482176"

It seems that sentry recognize this part


as credit card number...

Is there any way to disable these filtering rules or maybe should I somehow send that url by using different method?

Needs Triage

Most helpful comment

Please add fullstoryUrl to your Safe Fields in your project settings. More information about server-side scrubbing can be found at https://docs.sentry.io/data-management/sensitive-data/#server-side-scrubbing.

All 3 comments

Please add fullstoryUrl to your Safe Fields in your project settings. More information about server-side scrubbing can be found at https://docs.sentry.io/data-management/sensitive-data/#server-side-scrubbing.

let me know if that works for you, i'll reopen then

@untitaker Thank you very much! It works 馃挭

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kamilogorek picture kamilogorek  路  3Comments

scorpio13love picture scorpio13love  路  3Comments

franciscovelez picture franciscovelez  路  3Comments

THPubs picture THPubs  路  3Comments

nicolezhu picture nicolezhu  路  3Comments