diff options
author | Pavel Moravec <pmoravec@redhat.com> | 2024-01-06 15:13:33 +0100 |
---|---|---|
committer | Jake Hunsaker <jacob.r.hunsaker@gmail.com> | 2024-01-15 15:44:14 -0500 |
commit | b9dcb2c6966083995ec6dc4329eb78be310aad9c (patch) | |
tree | d5352fe2958cecc66c976e98b10a3ffc36f985a8 /man | |
parent | 6c1d4be346e31fbf40d72ffc7657e722ff9eea7d (diff) | |
download | sos-b9dcb2c6966083995ec6dc4329eb78be310aad9c.tar.gz |
[archive, component] Obfuscate upload password in sos.log and manifest.json
sos_logs/sos.log and sos_reports/manifest.json tracks command line where
we must obfuscate upload passwords like:
--upload-pass=PASSWORD
--upload-url https://user:PASSWORD@some.url
So let move the do_file_sub functionality into archive class and call
that from report before finalizing the archive.
Resolves: #3463
Closes: #3462
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
Diffstat (limited to 'man')
-rw-r--r-- | man/en/sos-report.1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man/en/sos-report.1 b/man/en/sos-report.1 index 106694df..de99c95a 100644 --- a/man/en/sos-report.1 +++ b/man/en/sos-report.1 @@ -439,7 +439,7 @@ If this option is omitted and upload is requested, you will be prompted for one. If --batch is used, this prompt will not occur, so any uploads are likely to fail unless this option is used. -Note that this will result in the plaintext string appearing in `ps` output that may +Note that this may result in the plaintext string appearing in `ps` output that may be collected by sos and be in the archive. If a password must be provided by you for uploading, it is strongly recommended to not use --batch and enter the password when prompted rather than using this option. |