Make mask_password case insensitive, and add new patterns
It appears that Mistral service logs everything, and doesn't use yet
the mask_password (nor mask_dict_password) method. In order to ensure
all is properly masked, we have to add some new patterns, and make it
case insensitive in order to simplify and avoid duplicated entries.
Reviewed: https:/ /review. opendev. org/692972 /git.openstack. org/cgit/ openstack/ oslo.utils/ commit/ ?id=95f1b88c90b a0654e1353669b8 b0f1d170391a25
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 95f1b88c90ba065 4e1353669b8b0f1 d170391a25
Author: Cédric Jeanneret <email address hidden>
Date: Fri Nov 1 11:27:37 2019 +0100
Make mask_password case insensitive, and add new patterns
It appears that Mistral service logs everything, and doesn't use yet
the mask_password (nor mask_dict_password) method. In order to ensure
all is properly masked, we have to add some new patterns, and make it
case insensitive in order to simplify and avoid duplicated entries.
Change-Id: Icc19b7c8bdb6a3 182939d5e9fdef2 1288b19f43d d1d5955ee310706 7edf050221)
Related-Bug: #1850843
Signed-off-by: Cédric Jeanneret <email address hidden>
(cherry picked from commit b41268417cecb12