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: src/privacy/portal.md
+7-15Lines changed: 7 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -223,21 +223,6 @@ North American phone number (without country code) is also ten digits.
223
223
224
224
{% include components/reference-button.html href="/segment-app/iam/roles/#pii-access" icon="media/academy.svg" title="PII Access" description="Use Access Roles to control who has access to the PII identified by your matchers." variant="related" %}
225
225
226
-
### Using Synonyms
227
-
228
-
The matchers scan data coming from your Sources for PII based on both
229
-
exact-matching (and fuzzy-matching if you select 'Similar to' option).
230
-
As an example, if you have a custom matcher for detecting "credit card
231
-
number", it will also detect variations like "credit-card number", or
232
-
typos such as "creditt card number".
233
-
234
-
Our fuzzy matching uses [this public GitHub repository](https://github.com/imjasonmiller/godice)
235
-
to determine if it is a match. However, it will not detect all variations
236
-
and for those scenarios, you can use synonyms. You can add "credit card no",
237
-
"debit card number", or similar variations in the synonyms section.
238
-
239
-

240
-
241
226
#### An intro to Regular expressions
242
227
243
228
Custom Matchers use [regular expressions](https://en.wikipedia.org/wiki/Regular_expression) (using the [Golang Regex Package](https://golang.org/pkg/regexp/)) to provide you great flexibility for your matching patterns.
@@ -270,3 +255,10 @@ build new custom matchers:
270
255
-[RegExr](https://regexr.com/) - an online tool to experiment with regular expressions and test them
271
256
-[RegexOne](https://regexone.com/) - a tutorial which takes you from regular expression basics to advanced topics
272
257
-[Regexp Cheatsheet](https://devhints.io/regexp) - a handy cheatsheet to have nearby when you're writing regular expressions
258
+
259
+
### Using Synonyms
260
+
261
+
Segment's exact matching and fuzzy matching do not detect all variations in the received keys
262
+
and for those scenarios, you can use synonyms. For example, for the value `credit card number`, you can add `credit card no`,
263
+
`debit card number`, `debit card no`, or similar variations in the synonyms section to classify those fields.
264
+

0 commit comments