Public Repository

Last pushed: a year ago
Short Description
SOSReport Scrubbing in a Container!
Full Description

Information

SOSCleaner helps users in environments that have data export restrictions clean up an sosreport so it can be safely uploaded to a support group for analysis. IT IS NOT ALL that should be done for this process, but it does help with the most common and repetitive items.

Usage

# docker run -v /var/tmp:/var/tmp -e "OPTIONS=-d foo.com -d bar.com" -e "SOSREPORT=/var/tmp/sosreport-test.1-20150402173535.tar.xz" jeduncan/soscleaner
04-02 23:13:38 soscleaner CONSOLE: Log File Created at /var/tmp/soscleaner-2275612387292723.log
04-02 23:13:38 soscleaner CONSOLE: soscleaner version 0.2.2
04-02 23:13:38 soscleaner WARNING: soscleaner is a tool to help obfuscate sensitive information from an existing sosreport.
04-02 23:13:38 soscleaner WARNING: Please review the content before passing it along to any third party.
04-02 23:13:38 soscleaner CONSOLE: Beginning SOSReport Extraction
04-02 23:13:54 soscleaner CONSOLE: Processing hosts file for better obfuscation coverage
04-02 23:13:54 soscleaner CONSOLE: Obfuscated Domain Created - example.com
04-02 23:13:54 soscleaner CONSOLE: Obfuscated Domain Created - example1.com
04-02 23:13:54 soscleaner CONSOLE: Obfuscated Domain Created - example2.com
04-02 23:13:54 soscleaner CONSOLE: IP Obfuscation Start Address - 10.230.230.1
04-02 23:13:54 soscleaner CONSOLE: *** SOSCleaner Processing ***
04-02 23:16:35 soscleaner CONSOLE: *** SOSCleaner Statistics ***
04-02 23:16:35 soscleaner CONSOLE: IP Addresses Obfuscated - 214
04-02 23:16:35 soscleaner CONSOLE: Hostnames Obfuscated - 8
04-02 23:16:35 soscleaner CONSOLE: Domains Obfuscated - 3
04-02 23:16:35 soscleaner CONSOLE: Total Files Analyzed - 5509
04-02 23:16:35 soscleaner CONSOLE: *** SOSCleaner Artifacts ***
04-02 23:16:35 soscleaner CONSOLE: Creating IP Report - /var/tmp/soscleaner-2275612387292723-ip.csv
04-02 23:16:35 soscleaner CONSOLE: Creating Hostname Report - /var/tmp/soscleaner-2275612387292723-hostname.csv
04-02 23:16:35 soscleaner CONSOLE: Creating Domainname Report - /var/tmp/soscleaner-2275612387292723-dn.csv
04-02 23:16:35 soscleaner CONSOLE: Creating SOSCleaner Archive - /var/tmp/soscleaner-2275612387292723.tar.gz
04-02 23:16:43 soscleaner CONSOLE: SOSCleaner Complete

Output

# ll /var/tmp/soscleaner*
-rw-r--r--. 1 root root      101 Apr  2 23:16 /var/tmp/soscleaner-2275612387292723-dn.csv
-rw-r--r--. 1 root root      401 Apr  2 23:16 /var/tmp/soscleaner-2275612387292723-hostname.csv
-rw-r--r--. 1 root root     5636 Apr  2 23:16 /var/tmp/soscleaner-2275612387292723-ip.csv
-rw-r--r--. 1 root root     2639 Apr  2 23:16 /var/tmp/soscleaner-2275612387292723.log
-rw-r--r--. 1 root root 12249683 Apr  2 23:16 /var/tmp/soscleaner-2275612387292723.tar.gz
Docker Pull Command
Owner
jeduncan

Comments (0)