2019-09-05 04:50:08 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!-- Config for test server -->
|
2019-09-03 23:07:08 +00:00
|
|
|
<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>
|
2019-09-05 04:50:08 +00:00
|
|
|
<!-- This rule is used in tests. -->
|
|
|
|
<rule>
|
|
|
|
<regexp>TOPSECRET.TOPSECRET</regexp>
|
|
|
|
<replace>[hidden]</replace>
|
|
|
|
</rule>
|
2019-09-03 23:07:08 +00:00
|
|
|
</query_masking_rules>
|
|
|
|
</yandex>
|