Tried to set-up using fast-redact for redacting PII from logs. However the logs are unstructured and it's non-obvious the package doesn't support wildcarding depths in object paths rather than widths at specific depths.
e.g.
I can get the above to work if I add paths: ['*.firstName', '*.*.firstName', '*.*.*.firstName'] but as these are unstructured logs, I'll never know the depth of the object beforehand
Have I missed something in the documentation to enable the depth wildcard traversal?
Tried to set-up using
fast-redact
for redacting PII from logs. However the logs are unstructured and it's non-obvious the package doesn't support wildcarding depths in object paths rather than widths at specific depths. e.g.I can get the above to work if I add
paths: ['*.firstName', '*.*.firstName', '*.*.*.firstName']
but as these are unstructured logs, I'll never know the depth of the object beforehandHave I missed something in the documentation to enable the depth wildcard traversal?