File Name (FileNameGenerator)
The File Name generator scrambles characters while preserving formatting and keeping the file extension intact.
The File Name generator does not support linking. It can be self-consistent, but not consistent with another column. You cannot configure differential privacy.
There is no generator-specific configuration.
{
"presetId": "string",
"generatorId": "FileNameGenerator",
"schema": "string",
"table": "string",
"column": "string",
"dataType": "string" //MongoDB only
"metadata": {
"isConsistent": boolean
},
"encryptionProcessor": "x-on", //To use configured Tonic data encryption
"customValueProcessor": "string" //If custom value processor applied
}
In this example replacement for the File Name generator, consistency is enabled.
{
"name": "data_file",
"schema": "public",
"table": "products",
"links": [
{
"presetId": "FileNameGenerator",
"generatorId": "FileNameGenerator",
"schema": "public",
"table": "products",
"column": "data_file",
"metadata": {
"isConsistent": true
}
}
]
}