mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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 |
5 years ago | |
---|---|---|
.. | ||
cli | 5 years ago | |
compat | 6 years ago | |
config | 5 years ago | |
contrib | 6 years ago | |
errors | 5 years ago | |
executor | 5 years ago | |
galaxy | 5 years ago | |
inventory_test_data/group_vars | 10 years ago | |
mock | 5 years ago | |
module_utils | 5 years ago | |
modules | 5 years ago | |
parsing | 5 years ago | |
playbook | 5 years ago | |
plugins | 5 years ago | |
regex | 6 years ago | |
template | 5 years ago | |
utils | 5 years ago | |
vars | 5 years ago | |
__init__.py | 8 years ago | |
requirements.txt | 5 years ago | |
test_constants.py | 8 years ago | |
test_context.py | 5 years ago |