-
Story
-
Resolution: Done
-
Major
-
None
-
None
In any textual representation we need to find:
- IP address (v4, v6, CIDR - RFC 760/2460 + other unconventional formats with dashes in filenames, pod names or URIs with different protocols (unix:// & http(s)://)
There are existing tools that do that, so evaluate whether we can leverage that - otherwise there are a bunch of regular expressions in sos-cleaner and troubleshoot.sh:
https://github.com/soscleaner/soscleaner/blob/master/soscleaner/soscleaner.py
https://troubleshoot.sh/docs/redact/ip-addresses/
https://sos.readthedocs.io/en/master/parsers.html
AC:
- well tested logic to detect all the above shapes and forms of IP addresses in a string
- is cloned by
-
CFE-23 Implement the MAC Address Detector
- Closed
There are no Sub-Tasks for this issue.