Open nagy135 opened 1 year ago
Same issue here, we want to redact PII from potentially deeply nested objects - data structures defined by API responses / external librariers - for example *.*.*.*.*.team.name
results in redacting all name
properties.
This tied with the fact deep wildcard redaction doesn't work makes it very hard to use the library now.
Hello, i wrote test that shows what i mean, so basically, if you provide deep enough sequence of wildcards, then all it needs is matching last key in object and its redacted. Even thou in paths you require also "the one before it" to match.