Make mask_dict_password case insensitive and add new patterns
In Icc19b7c8bdb6a3182939d5e9fdef21288b19f43d mask_password was made case
insensitive but mask_dict_password wasn't. This update makes the
behaviour of these functions the same.
Instead of lowering _SANITIZE_KEYS each time the source list is lowered.
New password patterns from realworld logs were added to the patterns.
Change-Id: Ic3ee301857630a15b9c26fd5d0fc907c43199517
Related-Bug: #1850843
(cherry picked from commit ed70bd3cd10eae2a34a5e9bd5d1fe0a6791ab3de)
(cherry picked from commit c49a426b6618426f9260eea10c1b2a9e1c5a4d65)
Reviewed: https:/ /review. opendev. org/718441 /git.openstack. org/cgit/ openstack/ oslo.utils/ commit/ ?id=d0b99227d9b f67316905d973d4 9cc85aa9a93c04
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit d0b99227d9bf673 16905d973d49cc8 5aa9a93c04
Author: Dougal Matthews <email address hidden>
Date: Fri Nov 15 11:11:07 2019 +0000
Make mask_dict_password case insensitive and add new patterns
In Icc19b7c8bdb6a3 182939d5e9fdef2 1288b19f43d mask_password was made case
insensitive but mask_dict_password wasn't. This update makes the
behaviour of these functions the same.
Instead of lowering _SANITIZE_KEYS each time the source list is lowered.
New password patterns from realworld logs were added to the patterns.
Change-Id: Ic3ee301857630a 15b9c26fd5d0fc9 07c43199517 a34a5e9bd5d1fe0 a6791ab3de) f9260eea10c1b2a 9e1c5a4d65)
Related-Bug: #1850843
(cherry picked from commit ed70bd3cd10eae2
(cherry picked from commit c49a426b6618426