Skip to content

Commit 6da9b63

Browse files
committed
doc: logging and authentication review
1 parent b164ff4 commit 6da9b63

File tree

2 files changed

+43
-70
lines changed

2 files changed

+43
-70
lines changed

doc/RequestsLibrary.html

Lines changed: 38 additions & 66 deletions
Large diffs are not rendered by default.

src/RequestsLibrary/__init__.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,11 @@ class RequestsLibrary(RequestsOnSessionKeywords):
118118
119119
= Logging and authentication =
120120
121-
Every request logs headers. This implies that in the case of basic
122-
authentication, the password could be exposed in the Robot Framework
123-
output files. By default, the value of ``Authorization`` is masked,
124-
expect when the log level is set to ``TRACE`` or ``DEBUG``.
121+
All request data are logged by default headers included, which means that, sensitive information like passwords
122+
or tokens may be present in the Robot Framework output files.
123+
For this reason, the ``Authorization`` header is masked in standard logs to protect sensitive data.
124+
125+
The full value of ``Authorization`` will only be visible if the logging level is set to ``TRACE`` or ``DEBUG``.
125126
126127
"""
127128

0 commit comments

Comments
 (0)