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.
39cfb63be6
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
(cherry picked from commit
|
5 years ago | |
---|---|---|
.. | ||
platforms | 5 years ago | |
shared_snippets | 6 years ago | |
style_guide | 5 years ago | |
testing/sanity | 5 years ago | |
debugging.rst | 5 years ago | |
developing_api.rst | 6 years ago | |
developing_collections.rst | 5 years ago | |
developing_core.rst | 6 years ago | |
developing_inventory.rst | 5 years ago | |
developing_locally.rst | 6 years ago | |
developing_module_utilities.rst | 6 years ago | |
developing_modules.rst | 6 years ago | |
developing_modules_best_practices.rst | 5 years ago | |
developing_modules_checklist.rst | 6 years ago | |
developing_modules_documenting.rst | 5 years ago | |
developing_modules_general.rst | 5 years ago | |
developing_modules_general_aci.rst | 5 years ago | |
developing_modules_general_windows.rst | 6 years ago | |
developing_modules_in_groups.rst | 6 years ago | |
developing_plugins.rst | 5 years ago | |
developing_program_flow_modules.rst | 5 years ago | |
developing_python_3.rst | 5 years ago | |
developing_rebasing.rst | 6 years ago | |
index.rst | 5 years ago | |
module_lifecycle.rst | 6 years ago | |
overview_architecture.rst | 6 years ago | |
testing.rst | 6 years ago | |
testing_compile.rst | 6 years ago | |
testing_documentation.rst | 5 years ago | |
testing_httptester.rst | 6 years ago | |
testing_integration.rst | 5 years ago | |
testing_integration_legacy.rst | 6 years ago | |
testing_pep8.rst | 5 years ago | |
testing_running_locally.rst | 6 years ago | |
testing_sanity.rst | 6 years ago | |
testing_units.rst | 5 years ago | |
testing_units_modules.rst | 6 years ago | |
testing_validate-modules.rst | 5 years ago |