From ecda520d73114aab26ac025f89b575dc518c9b02 Mon Sep 17 00:00:00 2001 From: Pavel Moravec Date: Mon, 12 Feb 2024 08:30:14 +0100 Subject: [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 --- man/en/sos-clean.1 | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'man') 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. -- cgit