diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2020-05-28 10:39:35 -0400 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2020-06-17 12:11:29 -0400 |
commit | 33bfe244f66af4dedee887799db0b6eaf85c9f08 (patch) | |
tree | 6120ee9a5c0866a7229bdb3542d1f09dfc94eb7f /man/en | |
parent | af0f418b7f5fd677cf153b97c7a8f980b5728aaf (diff) | |
download | sos-33bfe244f66af4dedee887799db0b6eaf85c9f08.tar.gz |
[cleaner] Add hostname parser
Adds a hostname parser to `sos clean` that will attempt to obfuscate
FQDNs matching the hostname of the system that generated the sosreport,
as found in sos_commands/host/hostname.
Additionally, any domains added via the `--domains` option will also be
obfuscated, including any subdomains of the domain(s) specified by the
option.
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'man/en')
-rw-r--r-- | man/en/sos-clean.1 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/man/en/sos-clean.1 b/man/en/sos-clean.1 index 729c812f..85bd6dfc 100644 --- a/man/en/sos-clean.1 +++ b/man/en/sos-clean.1 @@ -3,6 +3,7 @@ sos clean - Obfuscate sensitive data from one or more sosreports .SH SYNOPSIS .B sos clean TARGET [options] + [\-\-domains] [\-\-map] [\-\-jobs] [\-\-no-update] @@ -37,7 +38,14 @@ directory. If an archive, it will first be extracted and then after obfuscation using the same compression method as the original. .SH OPTIONS +.TP +.B \-\-domains DOMAINS +Provide a comma-delimited list of domain names to obfuscate, in addition to those +matching the hostname of the system that created the sosreport. Subdomains that +match a domain given via this option will also be obfuscated. +For example, if \fB\-\-domains redhat.com\fR is specified, then 'redhat.com' will +be obfuscated, as will 'www.redhat.com' and subdomains such as 'foo.redhat.com'. .TP .B \-\-map FILE Provide a location to a valid mapping file to use as a reference for existing obfuscation pairs. |