Skip to content

Commit

Permalink
doc: logging and authentication review
Browse files Browse the repository at this point in the history
  • Loading branch information
lucagiove committed Oct 25, 2024
1 parent f663b11 commit 6b67acf
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 70 deletions.
104 changes: 38 additions & 66 deletions doc/RequestsLibrary.html

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions src/RequestsLibrary/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,11 @@ class RequestsLibrary(RequestsOnSessionKeywords):
= Logging and authentication =
Every request logs headers. This implies that in the case of basic
authentication, the password could be exposed in the Robot Framework
output files. By default, the value of ``Authorization`` is masked,
expect when the log level is set to ``TRACE`` or ``DEBUG``.
All request data are logged by default headers included, which means that, sensitive information like passwords
or tokens may be present in the Robot Framework output files.
For this reason, the ``Authorization`` header is masked in standard logs to protect sensitive data.
The full value of ``Authorization`` will only be visible if the logging level is set to ``TRACE`` or ``DEBUG``.
"""

Expand Down

0 comments on commit 6b67acf

Please sign in to comment.