-
Notifications
You must be signed in to change notification settings - Fork 540
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ovirt] answer files: Filter out all password keys #2947
[ovirt] answer files: Filter out all password keys #2947
Conversation
f9b8ae7
to
42abb1d
Compare
Congratulations! One of the builds has completed. 🍾 You can install the built RPMs by following these steps:
Please note that the RPMs should be used only in a testing environment. |
@sandrobonazzola can you please review? Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sorry, this won't work - we have passwords which do not have 'password' in their key. Will fix later. |
42abb1d
to
c445c39
Compare
This pull request introduces 1 alert when merging c445c39 into fe81417 - view on LGTM.com new alerts:
|
c445c39
to
0b60273
Compare
Instead of hard-coding specific keys and having to maintain them over time, replace the values of all keys that have 'password' in their name. I think this covers all our current and hopefully future keys. It might add "false positives" - keys that are not passwords but have 'password' in their name - and I think that's a risk worth taking. Sadly, the engine admin password prompt's name is 'OVESETUP_CONFIG_ADMIN_SETUP', which does not include 'password', so has to be listed specifically. A partial list of keys added since the replaced code was written: - grafana-related stuff - keycloak-related stuff - otopi-style answer files Signed-off-by: Yedidyah Bar David <[email protected]> Change-Id: I416c6e4078e7c3638493eb271d08d73a0c22b5ba
0b60273
to
2701067
Compare
OK, this does work. Please review/merge. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Instead of hard-coding specific keys and having to maintain them over
time, replace the values of all keys that have 'password' in their name.
I think this covers all our current and hopefully future keys. It might
add "false positives" - keys that are not passwords but have 'password'
in their name - and I think that's a risk worth taking.
A partial list of keys added since the replaced code was written:
Please place an 'X' inside each '[]' to confirm you adhere to our Contributor Guidelines