Bug 654235 - [RFE] Modules implementing filters for their files
Summary: [RFE] Modules implementing filters for their files
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: sos
Version: rawhide
Hardware: All
OS: All
low
medium
Target Milestone: ---
Assignee: Bryn M. Reeves
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-17 09:43 UTC by Pierre Carrier
Modified: 2017-02-23 16:44 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-23 16:44:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github sosreport sos issues 941 0 None closed [RFE] Modules implementing filters for their files 2021-01-11 13:53:27 UTC

Description Pierre Carrier 2010-11-17 09:43:45 UTC
Problem:
- Files such as /etc/passwd are not included
- I don't think anyone is comfortable adding them because the data they contain is particularly sensible.

Approach:
- For /etc/passwd for example, replacing the account field by its SHA-1, every character in the GECOS field by 'x' would still allow a support engineer to determine if a username is defined there, if yes its shell, etc.
- Such filters belong in the module itself and not in the core of sosreport

Proposed solution:

- When including the file, the module should be able to specify a filter method.
- We should allow per-line filters (fast and simple), filters that receive the file contents as a string and return the stored contents as another

Comment 1 Fedora Admin XMLRPC Client 2012-02-25 13:50:28 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Fedora Admin XMLRPC Client 2012-02-27 13:59:40 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Sandro Bonazzola 2017-02-23 16:44:40 UTC
The problem described has been moved upstream in 
https://github.com/sosreport/sos/issues/941


Note You need to log in before you can comment on or make changes to this bug.