inspec/lib
Aaron Lippold 1b58763aff updated postgres_session resource properly escape queries (#1939)
* fixed a small courner case in the error detection - error: vs error
fixed resource to use 'shellwords' module to escape the query
requested chances in method architecture for testing
added unit tests

Fixes: #1814

Signed-off-by: Aaron Lippold <lippold@gmail.com>

* updated resource and tests with requested review changes

Signed-off-by: Aaron Lippold <lippold@gmail.com>

* removed unneeded call to `escaped_query` in the `create_sql_cmd`.

Signed-off-by: Aaron Lippold <lippold@gmail.com>

* removed license info

Signed-off-by: Aaron Lippold <lippold@gmail.com>
2017-07-03 08:10:27 +02:00
..
bundles Remove any "All Rights Reserved" references (#1969) 2017-06-28 04:14:19 -07:00
fetchers Don't send HTTP headers that have nil values (#1948) 2017-06-21 19:09:13 -05:00
inspec Release v1.30.0 (#1978) 2017-06-29 15:19:16 -04:00
matchers Remove any "All Rights Reserved" references (#1969) 2017-06-28 04:14:19 -07:00
resources updated postgres_session resource properly escape queries (#1939) 2017-07-03 08:10:27 +02:00
source_readers add inspec.profile.file(...) for profile files 2017-05-03 20:39:27 +02:00
utils oracle_session and mssql_session improvement (#1857) 2017-06-29 11:01:32 -04:00
inspec.rb Remove any "All Rights Reserved" references (#1969) 2017-06-28 04:14:19 -07:00