Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion docs/security-legal-pii/scrubbing/attachment-scrubbing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,21 @@ All attachments can be selected using the `$attachments` [Value Type](../advance
The filename must be in quotes to write a specific filename, but wildcards can also be used.

For example, for the filename `minidump.dmp`, you can select all fields to be scrubbed using `$attachments.'minidump.dmp'.**`.
To write the same using a wildcard to select all attachments, you would write `$attachments.*.**` or even simply `$attachments.**`.
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'`.

<Alert level="warning" title="Attachment scrubbing limitations">

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:

```
# Will be scrubbed:
[Remove] [IP Addresses] from [$attachments.'foo.txt']

# Will NOT be scrubbed:
[Remove] [IP Addresses] from [$attachments.**]
```

</Alert>

### Minidump Selectors

Expand Down
Loading