Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

Maskind data in response payload

Aantat
Cirrus
Cirrus

Hello team,

I've a task to mask data in response. So I need to mask data in the response payload. It's a JSON parameter value. I don't need to mask it in logs, I need to mask the actual response. I didn't get it via Sensitive Parameters. Any tips? Where should I go to fix my issue?

1 REPLY 1

You could use an iRule to rewrite the content of JSON parameter. For an example see: https://f5-agility-labs-irules.readthedocs.io/en/latest/class2/module1/lab4.html

The Content-Type for JSON is 'application/json', so make sure adjust the iRule in the example.