Public bug reported:

operation_log middlware always output mask_fields even when they are not
included in a user parameters. It is really confusing.

horizon/middleware/operation_log.py

        for key in params.items():
            # replace a value to a masked characters
            for key in self.mask_fields: <----- This should be 'if'.....
                params[key] = '*' * 8

** Affects: horizon
     Importance: Undecided
     Assignee: Akihiro Motoki (amotoki)
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1675191

Title:
  operation_log: mask_fields are always recorded even if it is not
  contained in user parameters

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  operation_log middlware always output mask_fields even when they are
  not included in a user parameters. It is really confusing.

  horizon/middleware/operation_log.py

          for key in params.items():
              # replace a value to a masked characters
              for key in self.mask_fields: <----- This should be 'if'.....
                  params[key] = '*' * 8

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1675191/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to