Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-121531

[cleaner] Make cleaner's obfuscate_file properly working

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • None
    • rhel-8.10.z, rhel-9.2.0.z, rhel-9.4.z, rhel-9.6.z, rhel-9.7.z, rhel-10.1.z, rhel-9.8, rhel-10.2.z
    • sos
    • None
    • None
    • Low
    • rhel-sst-cee-supportability
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Bug Fix
    • Hide
      The `obfuscate_file` function correctly scrubs file content::
      Before this update, the `obfuscate_file` function overwrote the file content with the filename, causing issues with the main archive population in the cleaner. Consequently, incorrectly overwritten file content in `sos` caused user data corruption. This update introduces the following notable enhancements:

      * The `obfuscate_file` function cleans the file content instead of the filename.
      * The cleaner's `main_archive` is populated by the parsers first to ensure data integrity.
      * The `obfuscate_file` function does not require `short_name`. It uses an implicit value that the cleaner automatically processes.
      Show
      The `obfuscate_file` function correctly scrubs file content:: Before this update, the `obfuscate_file` function overwrote the file content with the filename, causing issues with the main archive population in the cleaner. Consequently, incorrectly overwritten file content in `sos` caused user data corruption. This update introduces the following notable enhancements: * The `obfuscate_file` function cleans the file content instead of the filename. * The cleaner's `main_archive` is populated by the parsers first to ensure data integrity. * The `obfuscate_file` function does not require `short_name`. It uses an implicit value that the cleaner automatically processes.
    • Done
    • Done
    • Done
    • Unspecified
    • None

      The fix is three-fold:

      • obfuscate_file must clean file content and not filename
      • cleaner's main_archive must be populated by parsers first
      • obfuscate_file dont need short_name as it is always called with implicit value of short_name that cleaner will strip itself

              rhn-support-jjansky Jan Jansky
              rhn-support-jjansky Jan Jansky
              se cee-supportability se cee-supportability
              Adriana Jurkechova Adriana Jurkechova
              Mugdha Soni Mugdha Soni
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: