-
-
Notifications
You must be signed in to change notification settings - Fork 219
Description
Issue submitter TODO list
- I've looked up my issue in FAQ
- I've searched for an already existing issues here
- I've tried running
main-labeled docker image and the issue still persists there - I'm running a supported version of the application which is listed here
Describe the bug (actual behavior)
Data masking works fine for JSON fields but masks if the key or value fields are defined as basic data types like string. Not sure if this is expected behavior by reading the documentation. My expectation is only mask the named fields in json/avro etc.
Expected behavior
My expectation is only mask the named fields in json/avro etc.
Your installation details
Here are the properties I am using
kafka.clusters[0].masking[0].type=MASK
kafka.clusters0.masking0.fields=NAME
kafka.clusters0.masking0.topicKeysPattern=.*
kafka.clusters0.masking0.topicValuesPattern=.*
Steps to reproduce
create two different topics,
One with json keys and put some json data with NAME field in them.
Another with key/value as string. Write some randome data to it.
Only the first topic data with JSON data NAME field should be masked
The second topic key/value shouldn't be masked
Screenshots
No response
Logs
No response
Additional context
No response