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)
Reviewed: https:/ /review. opendev. org/694574 /git.openstack. org/cgit/ openstack/ oslo.utils/ commit/ ?id=566e14cb96e f9fa520f007efde b5e855587a1b98
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 566e14cb96ef9fa 520f007efdeb5e8 55587a1b98
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)
Related-Bug: #1850843
(cherry picked from commit ed70bd3cd10eae2