Files
MaxScale/maxscale-system-test/masking/masking_mysqltest/masking_rules.json
Markus Mäkelä 666568e1a0 Fix rule files for masking tests
The tests used invalid JSON in the rule files.
2017-08-09 11:38:09 +03:00

45 lines
884 B
JSON

{
"rules": [
{
"replace": {
"column": "a"
},
"with": {
"fill": "Y"
}
},
{
"replace": {
"column": "b"
},
"with": {
"value": "012345-ABCD"
}
},
{
"replace": {
"column": "c"
},
"with": {
"value": "012345-ABCD",
"fill": "Y"
}
},
{
"obfuscate": {
"column": "d"
}
},
{
"replace": {
"column": "f",
"match": "(?<=aaa).*(?=-12)|(?<=-12).*"
},
"with": {
"value": "01234-BCD",
"fill": "X#@"
}
}
]
}