Bug 2186802 - While updating any user parameter from WebUI extra password attribute is added to the logs which is misleading as customer may think that password of that user was changed.
Summary: While updating any user parameter from WebUI extra password attribute is adde...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Users & Roles
Version: 6.12.3
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-14 14:37 UTC by Aniket
Modified: 2023-08-15 09:41 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-19563 0 None None None 2023-08-15 09:41:03 UTC

Description Aniket 2023-04-14 14:37:00 UTC
Description of problem: 
While updating any user parameter from WebUI extra password attribute is added to the logs which is misleading as customer may think that password of that user was changed.

Version-Release number of selected component (if applicable):
Tested on Satellite 6.10, Satellite 6.11, Satellite 6.12

How reproducible:
If we update user parameter from WebUI we see password change message in the audit and production logs. 
If we update any user parameter using hammer then there would not be any password message in the audit and production logs.

~~~
User (5) update event on password [redacted], [redacted]
~~~

Steps to Reproduce:
1. Update user from Satellite WebUI 
Administer > Users > [Select User]
2. Update any parameter of that user.

Actual results:
In /var/log/foreman/production.log

~~~
User (5) update event on firstname , t
User (5) update event on password [redacted], [redacted]
~~~

Expected results:
In /var/log/foreman/production.log

~~~
User (5) update event on firstname , t
~~~

Additional info:


Note You need to log in before you can comment on or make changes to this bug.