OpenStack Context library
Go to file
Ben Nemec ab17aef573 Filter out auth_token_info from logging values
auth_token_info is a common field that subclasses of RequestContext
add. It contains things like the token itself and the entire catalog,
both of which are undesirable to log. The token is a security concern
and the catalog is huge, which bloats the logs an unacceptable amount.

This change removes the auth_token_info key from the logging dict
that we return to the log formatter, which eliminates both problems.

Change-Id: If5ebaa3c1859d32cd05f51defe173fc625b21af5
Closes-Bug: 1866705
(cherry picked from commit 1dd72d1d20)
2020-03-18 21:00:05 +00:00
doc Cap Bandit below 1.6.0 and update Sphinx requirement 2019-05-13 18:02:21 +00:00
oslo_context Filter out auth_token_info from logging values 2020-03-18 21:00:05 +00:00
releasenotes Update master for stable/stein 2019-03-18 14:44:23 +00:00
.coveragerc Fix coverage configuration and execution 2015-10-09 16:11:45 -04:00
.gitignore Clean up .gitignore references to personal tools 2018-10-15 11:46:46 +08:00
.gitreview Update .gitreview for stable/train 2019-09-20 16:31:28 +00:00
.mailmap exported from oslo-incubator by graduate.sh 2014-11-05 15:03:32 +01:00
.stestr.conf Switch to stestr 2018-07-04 08:30:19 +07:00
.zuul.yaml Add Python 3 Train unit tests 2019-07-05 14:43:39 -04:00
CONTRIBUTING.rst Cleanup document formatting 2017-07-05 02:27:14 +09:00
HACKING.rst Fix URLs according to document migration 2017-07-12 22:46:06 +08:00
LICENSE exported from oslo-incubator by graduate.sh 2014-11-05 15:03:32 +01:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-30 13:30:33 +08:00
babel.cfg exported from oslo-incubator by graduate.sh 2014-11-05 15:03:32 +01:00
lower-constraints.txt Switch to stestr 2018-07-04 08:30:19 +07:00
requirements.txt Remove use of positional decorator 2017-08-07 16:11:39 -07:00
setup.cfg Add Python 3 Train unit tests 2019-07-05 14:43:39 -04:00
setup.py Updated from global requirements 2017-03-03 03:06:56 +00:00
test-requirements.txt Cap Bandit below 1.6.0 and update Sphinx requirement 2019-05-13 18:02:21 +00:00
tox.ini Update TOX/UPPER_CONSTRAINTS_FILE for stable/train 2019-09-20 16:31:33 +00:00

README.rst

Oslo Context Library

The Oslo context library has helpers to maintain useful information about a request context. The request context is usually populated in the WSGI pipeline and used by various modules such as logging.

Team and repository tags

image

Latest Version

Downloads