Uploaded image for project: 'OpenShift CFE'
  1. OpenShift CFE
  2. CFE-22

Implement the IP Address Detector

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • 2021Q3 Plan
    • None
    • None
    • CFE Sprint 205

      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

       

          There are no Sub-Tasks for this issue.

              anaik.openshift Arjun Naik (Inactive)
              tjungblu@redhat.com Thomas Jungblut
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: