diff options
-rw-r--r-- | oslo_context/context.py | 2 | ||||
-rw-r--r-- | test-requirements.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/oslo_context/context.py b/oslo_context/context.py index 5e38452..172d8ca 100644 --- a/oslo_context/context.py +++ b/oslo_context/context.py @@ -368,7 +368,7 @@ class RequestContext(object): if self.auth_token: # NOTE(jaosorior): Gotta obfuscate the token since this dict is # meant for logging and we shouldn't leak it. - values['auth_token'] = '***' + values['auth_token'] = '***' # nosec else: values['auth_token'] = None # NOTE(bnemec: auth_token_info isn't defined in oslo.context, but it's diff --git a/test-requirements.txt b/test-requirements.txt index f090200..2820c80 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -9,4 +9,4 @@ coverage!=4.4,>=4.0 # Apache-2.0 stestr>=2.0.0 # Apache-2.0 # Bandit security code scanner -bandit>=1.1.0,<1.6.0 # Apache-2.0 +bandit>=1.6.0,<1.7.0 # Apache-2.0 |