-
Story
-
Resolution: Done
-
Major
-
None
-
None
The domain obfuscator currently only implements consistent obfuscation where the base domain is replaced. For the sake of consistency we should also offer the option of statically obfuscating the domains where the entire domain is redacted. For instance when the domain obfuscator is configured with the values redhat.com and there is subdomain encountered called cloud.redhat.com then the entire value should be redacted as xxxxxxxxxxxxxxxx.
AC:
- Update the constructor of the domain obfuscator to take the replacement parameter.
- In the replacement function if the replacement type is static then obfuscate the entire domain.
- Add tests to verify this functionality.
- links to