Is it possible to obfuscate JSON stored in a column in SQL server database? Below is an example. We need to mask the data stored in COL3.
Example provided:
COL1 | COl2 | COL3 |
1 | TEST1 | "Id":"1234","ID2":"ABC","ID3":"100CC","ID4":"B123","ID5":null,"IsWhatIf":false,"ValueType":null |
2 | TEST2 | "Id":"789","ID5":"ABZ","ID3":"10CC","ID4":"Z123","ID5":null,"IsWhatIf":false,"ValueType":null |
FastDataMasker 4.10
Make sure the data stored in the SQL Server column is a valid JSON document. In the example provided, the JSON data in COL3 needs to be placed inside {} brackets. If the data is not in a valid JSON format, then FDM may not find the proper JSON paths.
To mask the JSON data in the SQL Server COL3, for example:
See the screenshot below: