You can easily customize what data is masked in the session replays
mask
option, which lets you mask sensitive fields based on CSS selectors. For example, to mask credit card fields:
<input type="text" class="sentry-mask" />
For more details head to https://docs.sentry.io/platforms/javascript/session-replay/privacy/.