diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2021-06-16 02:24:51 -0400 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-06-21 12:48:07 -0400 |
commit | f180150277b706e72f2445287f3d0b6943efa252 (patch) | |
tree | 20d6b53986a7b14ce470bb23d3ec45966e5350da /requirements.txt | |
parent | 7ed138fcd2ee6ece3e7fbd9e48293b212e0b4e41 (diff) | |
download | sos-f180150277b706e72f2445287f3d0b6943efa252.tar.gz |
[hostname parser,map] Attempt to detect strings with FQDN substrings
This commit updates the hostname parser and associated map to be able to
better detect and obfuscate FQDN substrings within file content and file
names, particularly when the regex patterns failed to match a hostname
that is formatted with '_' characters rather than '.' characters.
The `get()` method has been updated to alow preserve characters and
certain extensions that are not part of the FQDN, but are brought in by
the regex pattern due to the fact that we need to use word boundary
indicators within the pattern.
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'requirements.txt')
0 files changed, 0 insertions, 0 deletions