mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Update CODING_GUIDELINES.md
This commit is contained in:
parent
30cdac6061
commit
0cea4d8a32
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ Module Security
|
||||||
* if you use need the shell you must pass use_unsafe_shell=True to module.run_command
|
* if you use need the shell you must pass use_unsafe_shell=True to module.run_command
|
||||||
* if you do not need the shell, avoid using the shell
|
* if you do not need the shell, avoid using the shell
|
||||||
* any variables that can come from the user input with use_unsafe_shell=True must be wrapped by pipes.quote(x)
|
* any variables that can come from the user input with use_unsafe_shell=True must be wrapped by pipes.quote(x)
|
||||||
|
* downloads of https:// resource urls must import module_utils.urls and use the fetch_url method
|
||||||
|
|
||||||
Misc Preferences
|
Misc Preferences
|
||||||
================
|
================
|
||||||
|
|
Loading…
Reference in a new issue