Skip to content

Commit 4cb3315

Browse files
committed
Add section how to remove geo information
1 parent 55b31ab commit 4cb3315

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/security-legal-pii/scrubbing/server-side-scrubbing/index.mdx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ So `password` will be redacted by default, and adding `cats`, `username`, and/or
4949
<Alert>
5050

5151
You can choose to expand the keys that are scrubbed by the server, as well as prevent IP addresses from being stored. The latter is particularly important if you’re concerned about PII and using our Browser JavaScript SDK.
52-
Please note that geo information is still derived from the IP address even if the setting to prevent storage is enabled. To scrub geo information, please add this rule `[Remove] [Anything] from [$user.geo.**]`.
5352

5453
</Alert>
5554

@@ -95,6 +94,14 @@ Marking elements of an array as safe requires a wildcard selector, for example `
9594
can be used to mark all elements contained within an object. The two selectors: `extra.credentials` and
9695
`extra.credentials.**` will mark the `credentials` object and all of its members as safe.
9796

97+
## Geo Information
98+
99+
Geo information is extracted based on the IP address of the user. This will happen even if storing IP addresses
100+
is disabled.
101+
102+
To scrub geo data, it's necessary to add an [_Advanced Data Scrubbing_](/security-legal-pii/scrubbing//advanced-datascrubbing/) rule.
103+
For example, this rule will remove all geo information: `[Remove] [Anything] from [$user.geo.**]`.
104+
98105
## Known Limitations
99106

100107
It's not currently possible to avoid scrubbing data in [breadcrumbs](/product/issues/issue-details/breadcrumbs/) by adding the category name in "Safe Fields". Only the message and data in breadcrumbs are used for data scrubbing. Also, if custom JSON data is provided, the fields will be scrubbed according to the configured rules and the entries in "Safe Fields".

0 commit comments

Comments
 (0)