From 103c5004e0968ba44bdddedaa04d690ec8816a41 Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Tue, 27 Jan 2026 09:49:45 -0800 Subject: [PATCH] [stable-only] Ignore bandit false-positive bandit 1.9.3 started looking for hardcoded passwords in dicts, which triggered this new false positive. We fixed it on master in the related change, but ought to fix it on stable branches, too. Related-Change: I26f75fb61ba0d13ca16810f13cc6cc193898211a Signed-off-by: Tim Burke Change-Id: I6e0c76dd9157e8dc265eb67cec486e0db782b9fa --- swift/common/middleware/proxy_logging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swift/common/middleware/proxy_logging.py b/swift/common/middleware/proxy_logging.py index f4d2bc6ff9..24f0934c43 100644 --- a/swift/common/middleware/proxy_logging.py +++ b/swift/common/middleware/proxy_logging.py @@ -189,7 +189,7 @@ class ProxyLoggingMiddleware(object): 'method': 'GET', 'protocol': '', 'status_int': '0', - 'auth_token': '1234...', + 'auth_token': '1234...', # nosec B105 'bytes_recvd': '1', 'bytes_sent': '0', 'transaction_id': 'tx1234',