3ca4580cb4
As AnsibleModule._log_invocation is currently implemented, any parameter with a name that matches PASSWORD_MATCH triggers the no_log warning as a precaution against parameters that may contain sensitive data, but have not been marked as sensitive by the module author. This patch would allow module authors to explicitly mark the aforementioned parameters as not sensitive thereby bypassing an erroneous warning message, while still catching parameters which have not been marked at all by the author. Adds tests for various no_log states including True, False, and None (as extracted by AnsibleModule._log_invocation) when applied to an argument with a name that matches PASSWORD_MATCH. Fixes: #49465 #64656 |
||
---|---|---|
.. | ||
acme | ||
aws | ||
basic | ||
cloud | ||
common | ||
docker | ||
ec2 | ||
facts | ||
gcp | ||
hwc | ||
identity/keycloak | ||
json_utils | ||
net_tools | ||
network | ||
parsing | ||
postgresql | ||
remote_management | ||
urls | ||
xenserver | ||
__init__.py | ||
conftest.py | ||
test_database.py | ||
test_distribution_version.py | ||
test_distro.py | ||
test_ec2.py | ||
test_hetzner.py | ||
test_known_hosts.py | ||
test_kubevirt.py | ||
test_netapp.py | ||
test_text.py | ||
test_utm_utils.py | ||
test_vmware.py |