Commit 9f469cd
chore(sentry): unmask replay text and media with selective opt-out hooks (#2709)
Sentry session replay defaults to masking all text and blocking all media,
which produces unreadable rows of asterisks on every replay. Turn both off
so replays are actually useful for debugging, and add .sentry-mask /
[data-sentry-mask] / [data-sentry-block] selectors so we can opt specific
customer-sensitive elements (risk descriptions, secret values, policy
markdown) back into masking as we identify them. <input type="password">
remains masked automatically by the SDK regardless.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3edfa98 commit 9f469cd
2 files changed
Lines changed: 20 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
28 | 37 | | |
29 | 38 | | |
30 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
13 | 22 | | |
14 | 23 | | |
15 | 24 | | |
| |||
0 commit comments