Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
In the following example, how to mask all the ‘id’ parameter values from response payload?
{ "stages": [ { "id": "92ab2d05-9f1a-4521-a7cc-64fb57dced52", "name": "aaaaaaaaaaaa", "description": "aaaaaaaaaaaan", "url": "http://aaaaaaaaaaaa.com", "password": "********************************" }, { "id": "04d38ee6-af62-4c6a-bc7c-59b04aef1556", "name": "aaaaaaaaaaaa", "description": "aaaaaaaaaaaa", "url": "http://aaaaaaaaaaaa.com", "password": "********************************" } ] }
Use Response Processing > “Data Masking” policy with the following Query expression
Query Expression: $.stages[*].id Masking Type: Mask Mask Value: ****