-
Bug
-
Resolution: Done
-
Major
-
None
-
None
When you obfuscate
"obfuscate 10.0.129.220 and 10-0-129-220"
The result is "obfuscate x-ipv4-000001-x and x-ipv4-000002-x", whereas this should actually be the same replacement. That happens frequently with folder names and their corresponding log file contents.
quick testcase to repro:
{ name: "standard ipv4 and standard ipv4 should map to same ip", input: []string{"obfuscate 10.0.129.220 and 10-0-129-220"}, output: []string{"obfuscate x-ipv4-000001-x and x-ipv4-000001-x"}, report: map[string]string{ "10.0.129.220": "x-ipv4-000001-x", }, },
AC:
- The same IP should be mapped to the same replacement, regardless of their initial formatting
- additional unit testing
- including the above case for the IP obfuscator as a regression test
- clones
-
CFE-85 Obfuscation on folder names
- Closed
- links to