Andrew Klychkov
31085fffb7
postgresql_ping: add session_role and trust_input parameters ( #312 )
...
* postgresql_ping: add session_role and trust_input parameters
* add changelog fragment
2020-05-12 09:34:28 +03:00
Andrew Klychkov
fce150fcf7
postgresql_copy: add trust_input parameter ( #313 )
...
* postgresql_copy: add trust_input parameter
* add changelog fragment
2020-05-12 09:33:42 +03:00
Thomas O'Donnell
51b8e79203
Refactor postgresql modules ( #291 )
...
* Refactor postgresql_idx to simplify code
Have refactored the postgresql_idx module to:
* Use the class schema in the drop function rather than a passed in one
* Remove the if/else and just return the bool in the drop and create
functions
* Refactor postgresql_ext module
Have refactored the postgresql_ext module to:
* Remove an unused exception
* Simplify logic in the create and update functions
* Use list comprehension to simplify getting the available version
* Refactor postgresql_user_obj_stat_info module
Have refactored the postgresql_user_obj_stat_info module to:
* Simplify the logic in some of the functions
* Reduce duplicate code
* Add changelog fragment
2020-05-12 09:32:06 +03:00
Thomas O'Donnell
571837b199
Add trust_input to postgresql_user_obj_stat_info ( #310 )
...
Have added a trust_input option to the postgresql_user_obj_stat_info
module. This only checks the session_role since all other options are
passed as parameters.
2020-05-10 15:56:19 +03:00
Andrew Klychkov
acc7bc1ea6
postgresql_info: add the trust_input parameter ( #308 )
...
* postgresql_info: add the trust_input parameter
* add changelog fragment
2020-05-09 11:24:20 +03:00
Andrew Klychkov
156d90ce90
postgresql_table: add the trust_input parameter ( #307 )
...
* postgresql_table: add the trust_input parameter
* add changelog fragment
2020-05-09 11:23:33 +03:00
Andrew Klychkov
55c1ece888
postgresql modules: improve trust_input parameter's documentation, improve CI tests ( #309 )
...
* postgresql modules: improve trust_input parameter's documentation, improve CI tests
* fix CI
2020-05-09 09:25:12 +03:00
Thomas O'Donnell
f887aff159
Add trust_input option to postgresql_slot module ( #298 )
...
* Add trust_input option to postgresql_slot module
Have added a trust_input option to the postgresql_slot module. This
only checks the session_role since all other options are passed as
parameters.
* Add Changelog fragment
* Update docs following PR review
2020-05-07 18:26:15 +03:00
Andrew Klychkov
c47a2128ca
postgresql_query: add trust_input parameter ( #294 )
...
* postgresql_query: add trust_input parameter
* add changelog fragment
* fix CI
2020-05-07 12:49:53 +03:00
Thomas O'Donnell
e4dd15a746
postgresql_sequence: add trust_input option ( #295 )
...
* Add trust_input option to postgresql_sequence
Have added the trust_input option to the postgresql_sequence module.
* Add changelog fragment
Have added a changelog fragment for these changes.
2020-05-07 09:07:49 +03:00
Andrew Klychkov
19cad71f25
postgresql_lang: add trust_input parameter ( #272 )
...
* postgresql_lan: add trust_input parameter
* add changelog fragment
2020-05-05 16:37:08 +03:00
Andrew Klychkov
e6b6c05bf7
postgresql_publication: add trust_input and session_role parameters ( #279 )
...
* postgresql_publication: add trust_input and session_role parameters
* add changelog fragment
2020-05-05 16:36:14 +03:00
Andrew Klychkov
30e84111f0
postgresql_subscription: add trust_input and session_role parameters ( #280 )
...
* postgresql_subscription: add trust_input and session_role parameters
* add changelog fragment
2020-05-05 16:35:34 +03:00
Andrew Klychkov
4c14956280
postgresql_idx: add trust_input parameter ( #264 )
...
* postgresql_idx: add trust_input parameter
* add changelog fragment
2020-05-05 16:33:06 +03:00
Thomas O'Donnell
6c1c1604fb
Add optional input check to postgresql_ext ( #282 )
...
* Add optional input check to postgresql_ext
Have added a new trust_input check to the postgresql_ext module that
allows for checking the input that is passed to the module.
* Add changelog fragment
* Update tests/integration/targets/postgresql_ext/tasks/postgresql_ext_initial.yml
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
2020-05-05 15:04:33 +03:00
Felix Fontein
a85b169a0e
Fix invalid 'sample' value (not a JSON value, since dictionary has non-string key). ( #262 )
2020-05-02 16:36:20 +03:00
Andrew Klychkov
01eee507f2
postgresql_tablespace: add trust_input parameter ( #240 )
...
* postgresql_tablespace: add trust_input parameter
* add changelog fragment
2020-05-01 14:10:13 +03:00
Andrew Klychkov
c68f17f09b
postgresql_schema: add trust_input parameter ( #259 )
...
* postgresql_schema: add trust_input parameter
* add changelog fragment
2020-05-01 14:09:23 +03:00
Andrew Klychkov
5febbca503
postgresql_owner: add trust_input parameter ( #198 )
...
* postgresql_owner: add trust_input parameter, allow to pass values containing dots to some parameters
* add changelog fragment
* fix CI
* fix CI
2020-04-28 10:42:08 +03:00
Andrew Klychkov
bb459cb014
postgresql_user: add scram-sha-256 password support ( #100 )
...
* postgresql_user: add support for scram-sha-256 passwords
* postgresql_user: add support for scram-sha-256 passwords
* add changelog fragment
* fix
2020-04-22 12:45:14 +01:00
Andrew Klychkov
5b1652e8fa
postgresql_db: add trust_input parameter ( #184 )
2020-04-20 09:38:35 +03:00
Andrew Klychkov
764cae9f33
postgresql_privs: add trust_input parameter ( #177 )
...
* postgresql_privs: add trust_input parameter
* add changelog fragment
2020-04-20 09:01:42 +03:00
Andrew Klychkov
3c24d1c03c
postgresql_user: add session_role parameter to check ( #179 )
2020-04-15 08:16:16 +03:00
Andrew Klychkov
4ad6ff50cd
postgresql_membership: add trust_input parameter ( #158 )
...
* postgresql_membership: add trust_input parameter
* add changelog fragment
* add session_role to check
2020-04-14 16:45:36 +03:00
Andrew Klychkov
2250e47de7
postgresql_membership: remove unused import of exec_sql function ( #178 )
...
* postgresql_membership: remove unused import of exec_sql function
* add changelog fragment
2020-04-14 11:15:53 +03:00
Felix Fontein
b161c59a05
Remove version_added from return values and docs fragments. ( #150 )
2020-04-13 08:19:41 +01:00
Andrew Klychkov
6d7f66539c
postgresql_user: add trust_input parameter ( #116 )
...
* postgresql: add input checks for potentially dangerous substrings
* postgresql_user: add trust_input parameter
* add CI, add changelog fragment
* fix CI
* moved input patterns outside is_input_dangerous function
* Update plugins/module_utils/database.py
Co-Authored-By: Thomas O'Donnell <andytom@users.noreply.github.com>
* Update plugins/module_utils/database.py
Co-Authored-By: Thomas O'Donnell <andytom@users.noreply.github.com>
* fix
Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2020-04-12 13:16:44 +02:00
Andrew Klychkov
1c550cd4ef
postgres: make interfaces of exec_sql clearer ( #43 )
...
(cherry picked from commit fb6583a15c1f7fd8e48f4f3ef214ed4e74c3d8c6)
2020-03-25 11:44:28 +00:00
Andrew Klychkov
76e72c44cd
postgresql_info: remove unnecessary spaces ( #30 )
2020-03-23 12:51:13 +00:00
Thomas O'Donnell
c6a2559719
Fix false positive warnings for PostgreSQL User ( #17 )
...
This stops a the false positive warnings that the `no_password_changes`
doesn't have the `no_log` set.
2020-03-17 14:23:27 +00:00
Ansible Core Team
aebc1b03fd
Initial commit
2020-03-09 09:11:07 +00:00