diff options
author | Pavel Moravec <pmoravec@redhat.com> | 2024-02-12 08:30:14 +0100 |
---|---|---|
committer | Jake Hunsaker <jacob.r.hunsaker@gmail.com> | 2024-03-11 15:43:32 -0400 |
commit | ecda520d73114aab26ac025f89b575dc518c9b02 (patch) | |
tree | 0d91bec3f4daeb8aff9577fa19aa7f97276130ae /man | |
parent | a4b5554bbabb73a4dc3e6a5e18d82961da519183 (diff) | |
download | sos-ecda520d73114aab26ac025f89b575dc518c9b02.tar.gz |
[cleaner] Add option to skip cleaning files
A new option --skip-cleaning-files / --skip-masking-files allows cleaner
to skip cleaning files where the user is certain no sensitive information
is present.
The option supports globs / wildcards.
Relevant: #3469
Closes: #3520
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
Diffstat (limited to 'man')
-rw-r--r-- | man/en/sos-clean.1 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/man/en/sos-clean.1 b/man/en/sos-clean.1 index c51f3276..fe3a1d8d 100644 --- a/man/en/sos-clean.1 +++ b/man/en/sos-clean.1 @@ -5,6 +5,7 @@ sos clean - Obfuscate sensitive data from one or more sosreports .B sos clean TARGET [options] [\-\-domains] [\-\-disable-parsers] + [\-\-skip-cleaning-files|\-\-skip-masking-files] [\-\-keywords] [\-\-keyword-file] [\-\-map-file] @@ -63,6 +64,15 @@ trust in the party/parties that may handle the generated report. Valid values for this option are currently: \fBhostname\fR, \fBip\fR, \fBipv6\fR, \fBmac\fR, \fBkeyword\fR, and \fBusername\fR. .TP +.B \-\-skip-cleaning-files, \-\-skip-masking-files FILES +Provide a comma-delimited list of files inside an archive, that cleaner should skip in cleaning. + +Globs like asterisk are supported, so \fBsos_commands/host/hostname*\fR will match all three +usual filenames in that directory (\fBhostname\fR, \fBhostnamectl_status\fR and \fBhostname_-f\fR). + +Use this option with caution, only when being certain the given files do not contain any sensitive +information. +.TP .B \-\-keywords KEYWORDS Provide a comma-delimited list of keywords to scrub in addition to the default parsers. |