Redact password from opendaylight client logging
The opendaylight client is printing debug that can potentially contain the user password. This should be redacted for security. Change-Id: Id07b8fc6bc63dc6bb799c4489b938253c5e15476 Closes-Bug: #1634907
This commit is contained in:
parent
97183a872b
commit
9df464267b
@ -199,8 +199,7 @@ class Client(object):
|
||||
else:
|
||||
curl_command.append('--digest ')
|
||||
|
||||
curl_command.append('--user "%s":"%s" ' % (auth_class.username,
|
||||
auth_class.password))
|
||||
curl_command.append('--user "%s":"***" ' % auth_class.username)
|
||||
|
||||
for name, value in six.iteritems(self._req_params['headers']):
|
||||
curl_command.append('-H "%s: %s" ' % (name, value))
|
||||
|
Loading…
x
Reference in New Issue
Block a user