You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/security-legal-pii/scrubbing/attachment-scrubbing.mdx
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,21 @@ All attachments can be selected using the `$attachments` [Value Type](../advance
32
32
The filename must be in quotes to write a specific filename, but wildcards can also be used.
33
33
34
34
For example, for the filename `minidump.dmp`, you can select all fields to be scrubbed using `$attachments.'minidump.dmp'.**`.
35
-
To write the same using a wildcard to select all attachments, you would write `$attachments.*.**` or even simply `$attachments.**`.
35
+
To write the same using a wildcard to select attachments with a specific file name, you would write `$attachments.'my_file.txt'.**` or even simply `$attachments.'my_file.txt'`.
Sentry currently only has limited support for scrubbing attachments that are not minidumps. Only attachments that are explicitly selected by an [Advanced Data Scrubbing](../advanced-datascrubbing/) rule with a non-wildcard filename will actually be scrubbed. For example:
40
+
41
+
```
42
+
# Will be scrubbed:
43
+
[Remove] [IP Addresses] from [$attachments.'foo.txt']
0 commit comments