Skip to content
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

"Additional data" displays [Filtered], replaced by PII rule creditcard:filter #2451

Closed
4 of 9 tasks
hinok opened this issue Feb 24, 2020 · 6 comments
Closed
4 of 9 tasks

Comments

@hinok
Copy link

hinok commented Feb 24, 2020

Package + Version

  • @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

5472936014675968

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?

@untitaker
Copy link
Member

untitaker commented Feb 24, 2020

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.

@untitaker
Copy link
Member

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

@hinok
Copy link
Author

hinok commented Feb 24, 2020

@untitaker Thank you very much! It works 💪

@ismeyueyue
Copy link

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.

Page Not Found ?

@hinok
Copy link
Author

hinok commented Jan 10, 2022

@ismeyueyue
Copy link

@HUMoon You can try https://docs.sentry.io/product/data-management-settings/scrubbing/

Thks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants