MAC Address (MACAddressGenerator)
The MAC Address generator does not support linking. It can be self-consistent, but not consistent with another column. You cannot configure differential privacy.
The
metadata
object is populated from the MacAddressMetadata
object. bytesPreserved
specifies the number of bytes to preserve in the generated address.{
"presetId": "string",
"generatorId": "MACAddressGenerator",
"schema": "string",
"table": "string",
"column": "string",
"dataType": "string" //MongoDB only
"metadata": {
"bytesPreserved": integer,
"isConsistent": boolean
},
"encryptionProcessor": "x-on", //To use configured Tonic data encryption
"customValueProcessor": "string" //If custom value processor applied
}
In the following example replacement for the MAC Address generator, the generated values preserve 4 bytes. Consistency is disabled.
{
"name": "mac-address",
"schema": "public"
"table": "servers",
"links": [
{
"presetId": "MACAddressGenerator",
"generatorId": "MACAddressGenerator",
"schema": "public",
"table": "servers",
"column": "mac-address",
"metadata": {
"bytesPreserved": 4,
"isConsistent": false
}
}
]
}
Last modified 1mo ago