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.
ansible/test/sanity/validate-modules
Sloane Hertel edd1e1723c
[2.7] CVE-2020-1746 - Remove the params module option from ldap_attr and ldap_entry (#68716)
* Remove the params module option from ldap_attr and ldap_entry

Module options that circumvent Ansible's option handling were disallowed
in:
https://meetbot.fedoraproject.org/ansible-meeting/2017-09-28/ansible_dev_meeting.2017-09-28-15.00.log.html

Additionally, this particular usage can be insecure if bind_pw is set
this way as the password could end up in a logfile or displayed on
stdout.

Fixes CVE-2020-1746

(cherry picked from commit 0ff609f1bc)

* Fix formatting for option names

Co-Authored-By: Felix Fontein <felix@fontein.de>

* Fix fail_json

* update sanity

* fix indentation error

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
6 years ago
..
__init__.py Port sivel/ansible-validate-modules into Ansible 9 years ago
ignore.txt [2.7] CVE-2020-1746 - Remove the params module option from ldap_attr and ldap_entry (#68716) 6 years ago
main.py [stable-2.7] Prevent metadata changes in a stable branch (#48994) (#49131) 7 years ago
module_args.py Use arg_spec type for comparisons on default and choices (#37741) 8 years ago
schema.py [stable-2.7] Validate types before asserting lengths (#56882) 7 years ago
skip.txt Module deprecation: docs, scheme and tests (#34100) 8 years ago
test_validate_modules_regex.py Fix shebangs and file modes and update tests. (#40563) 8 years ago
utils.py AnsiballZ improvements 7 years ago
validate-modules Make validate-modules a .py file, and symlink back to validate-modules (#25227) 9 years ago