mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Add no_log to all network module_utils provider argument (#22566)
The provider argument on the network modules argspec can contain credentials. Make sure we don't log it. Fixes #21892
This commit is contained in:
committed by
Chris Alfonso
parent
b15ceee6bd
commit
2553a37da5
@@ -42,7 +42,7 @@ NET_TRANSPORT_ARGS = dict(
|
||||
authorize=dict(default=False, fallback=(env_fallback, ['ANSIBLE_NET_AUTHORIZE']), type='bool'),
|
||||
auth_pass=dict(no_log=True, fallback=(env_fallback, ['ANSIBLE_NET_AUTH_PASS'])),
|
||||
|
||||
provider=dict(type='dict'),
|
||||
provider=dict(type='dict', no_log=True),
|
||||
transport=dict(choices=list()),
|
||||
|
||||
timeout=dict(default=10, type='int')
|
||||
|
||||
Reference in New Issue
Block a user