mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Added an example of query masking rules for developers
This commit is contained in:
parent
843f8303b0
commit
ece7a05cec
12
dbms/programs/server/config.d/query_masking.xml
Normal file
12
dbms/programs/server/config.d/query_masking.xml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<yandex>
|
||||||
|
<query_masking_rules>
|
||||||
|
<!-- An example of query masking rule to remove profanity.
|
||||||
|
This is an example for developers. Practical examples will include something like masking of SSN or credit card numbers.
|
||||||
|
-->
|
||||||
|
<rule>
|
||||||
|
<name>profanity</name>
|
||||||
|
<regexp>(?i:shit)</regexp>
|
||||||
|
<replace>substance</replace>
|
||||||
|
</rule>
|
||||||
|
</query_masking_rules>
|
||||||
|
</yandex>
|
Loading…
Reference in New Issue
Block a user