ansible/docs/docsite/rst/dev_guide
kaorihinata 3ca4580cb4 Allow no_log=False to silence the no_log warnings for module parameters (#64733)
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
2020-01-09 16:47:57 -05:00
..
platforms AWS Guidelines: Make 'security_token' optional so that they can be run outside of CI (#66107) 2019-12-30 08:38:20 +00:00
shared_snippets Clarify that GPLv3+ module_utils need core team approval (#56740) 2019-05-21 15:15:55 -05:00
style_guide add newline to render table correctly (#63769) 2019-10-29 13:09:18 -04:00
testing/sanity sanity ignores for a collection need to go to tests/sanity/ (#62182) 2019-09-12 15:55:19 -04:00
debugging.rst Add an example for the debugging module (#50197) 2019-07-15 12:00:36 -04:00
developing_api.rst removes last :doc: links in the dev guide (#58417) 2019-06-26 14:59:33 -04:00
developing_collections.rst Clarify how to use the Galaxy token (#65961) 2020-01-07 13:57:47 -06:00
developing_core.rst removes last :doc: links in the dev guide (#58417) 2019-06-26 14:59:33 -04:00
developing_inventory.rst Fix cache example (#64600) 2019-11-08 16:16:45 -05:00
developing_locally.rst Update local module options (#57553) 2019-06-17 15:22:50 -05:00
developing_module_utilities.rst fixed some broken links (#66182) 2020-01-06 10:24:07 -06:00
developing_modules.rst rewrite of the developer guide, part 1 (#45179) 2018-09-07 08:57:36 -05:00
developing_modules_best_practices.rst fixed some broken links (#66182) 2020-01-06 10:24:07 -06:00
developing_modules_checklist.rst fixed some broken links (#66182) 2020-01-06 10:24:07 -06:00
developing_modules_documenting.rst Allow no_log=False to silence the no_log warnings for module parameters (#64733) 2020-01-09 16:47:57 -05:00
developing_modules_general.rst Remove ansible-test --tox delegation option. 2019-11-14 17:18:00 -08:00
developing_modules_general_aci.rst doc: fix typos (#62852) 2019-09-26 10:18:29 -04:00
developing_modules_general_windows.rst Update developing_modules_general_windows.rst (#62796) 2019-09-24 13:37:49 -04:00
developing_modules_in_groups.rst removes last :doc: links in the dev guide (#58417) 2019-06-26 14:59:33 -04:00
developing_plugins.rst Support vars plugins in collections (#61078) 2019-11-04 11:41:14 -05:00
developing_program_flow_modules.rst Allow no_log=False to silence the no_log warnings for module parameters (#64733) 2020-01-09 16:47:57 -05:00
developing_python_3.rst fixed some broken links (#66182) 2020-01-06 10:24:07 -06:00
developing_rebasing.rst Update developing_rebasing.rst (#51650) 2019-02-08 13:29:39 -06:00
index.rst [docs] split collections into user and dev guide sections (#62363) 2019-09-19 15:09:19 -05:00
module_lifecycle.rst rewrite of the developer guide, part 1 (#45179) 2018-09-07 08:57:36 -05:00
overview_architecture.rst Docs: edits & expands module_utils & search path info in dev guide (#55931) 2019-05-01 07:52:34 -05:00
testing.rst removes last :doc: links in the dev guide (#58417) 2019-06-26 14:59:33 -04:00
testing_compile.rst Remove more docs build errors (#45364) 2018-09-11 17:51:47 +01:00
testing_documentation.rst Update docs references for ansible-test. (#60109) 2019-08-05 14:56:05 -07:00
testing_httptester.rst removes last :doc: links in the dev guide (#58417) 2019-06-26 14:59:33 -04:00
testing_integration.rst Elaborate on note that docker-priv only works with integration (#62035) 2019-09-11 08:20:49 -04:00
testing_integration_legacy.rst restores legacy testing file (#46095) 2018-09-25 08:52:47 -04:00
testing_pep8.rst Remove obsolete docs on pep8 sanity test. 2019-08-01 22:34:09 -07:00
testing_running_locally.rst Remove ansible-test --tox delegation option. 2019-11-14 17:18:00 -08:00
testing_sanity.rst Docs: List of Sanity Tests (#52986) 2019-02-26 11:27:39 -06:00
testing_units.rst Remove ansible-test --tox delegation option. 2019-11-14 17:18:00 -08:00
testing_units_modules.rst fixes import paths for ansible unit testing (#65775) 2019-12-16 11:07:26 -06:00
testing_validate-modules.rst Sanity checks: make sure that required in argument spec coincides with documentation (#65437) 2019-12-03 09:15:07 -06:00