File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -983,6 +983,42 @@ transformations:
983
983
literal: "{'error': null}"
984
984
` ` `
985
985
986
+ </details>
987
+ <details>
988
+ <summary>phone_number</summary>
989
+
990
+ **Description:** Generates anonymized phone numbers with customizable length.
991
+
992
+ | Supported PostgreSQL types |
993
+ | ----------------------------------- |
994
+ | `text`, `varchar`, `char`, `bpchar` |
995
+
996
+ | Parameter | Type | Default | Required | Values |
997
+ | --------------- | ------ | ------- | -------- | --------------------- |
998
+ | prefix | string | "" | No | N/A |
999
+ | min_length | int | 6 | No | N/A |
1000
+ | max_length | int | 10 | No | N/A |
1001
+ | generator | string | random | No | random, deterministic |
1002
+
1003
+ If the prefix is set, this transformer will always generate phone numbers starting with the prefix.
1004
+
1005
+ **Example Configuration:**
1006
+
1007
+ ` ` ` yaml
1008
+ transformations:
1009
+ table_transformers:
1010
+ - schema: public
1011
+ table: users
1012
+ column_transformers:
1013
+ phone:
1014
+ name: phone_number
1015
+ parameters:
1016
+ prefix: "+90"
1017
+ min_length: 9
1018
+ max_length: 12
1019
+ generator: deterministic
1020
+ ` ` `
1021
+
986
1022
</details>
987
1023
988
1024
# ## Transformation rules
You can’t perform that action at this time.
0 commit comments