OpenStack Context library
Go to file
Ben Nemec 1dd72d1d20 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
2020-03-10 17:55:16 +00:00
doc Drop python 2.7 support and testing 2020-01-30 11:43:11 +00:00
oslo_context Filter out auth_token_info from logging values 2020-03-10 17:55:16 +00:00
releasenotes reword releasenote for py27 support dropping 2020-02-06 12:36:00 +01:00
.coveragerc Fix coverage configuration and execution 2015-10-09 16:11:45 -04:00
.gitignore gitignore: Hide reno cache files 2019-12-06 15:09:56 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:43:09 +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 Drop python 2.7 support and testing 2020-01-30 11:43:11 +00: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 Drop python 2.7 support and testing 2020-01-30 11:43:11 +00:00
setup.py remove outdated header 2020-02-10 18:31:18 +01:00
test-requirements.txt Cap Bandit below 1.6.0 and update Sphinx requirement 2019-05-13 18:02:21 +00:00
tox.ini trivial: Cleanup tox.ini 2020-02-11 15:40:53 +01: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