Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-34090

As an inventory upload user, hostnames and IP addresses are obfuscated correctly on my reports regardless of insights-client config

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • 6.18.0
    • None
    • None
    • None
    • None
    • None
    • None

      https://github.com/theforeman/foreman_rh_cloud/blob/f16edeba98c36713c5d48226d83342404f09a90b/lib/foreman_inventory_upload/generators/fact_helpers.rb#L70

       

      ^ this is the logic that needs to be changed.

      1. obfuscate first
      2. if obfuscation is off, use host.fqdn
      3. ignore `insights_client::hostname` fact completely? (or maybe a fallback but idk when we'd ever need that)

              rhn-support-chrobert Chris Roberts
              rhn-engineering-jlenz Jeremy Lenz
              Jeremy Lenz Jeremy Lenz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: