mirror of https://github.com/ansible/ansible.git
Fix password leak in logs for provider argument (#32215)
* Fix password leak in logs for provider argument Since provider argument is not validated against a spec the `no_log` arguments are not handled leading to password leaking to syslogs. To fix this: * Mask password and other `no_log` provider arguments in action plugin * In case of eapi and nxapi as the password is used in module code, * copy the provider password to top-level password argument which * handles `no_log` correctly. This will, however, throw a deprecation * warning message for password arg even if it is not given as a * top-level argument. * Remove auth details from provider args in action plugin * Update CHANGELOGpull/32567/head
parent
4c6612eeba
commit
eaa2fcc73f
Loading…
Reference in New Issue