mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
Add SQLcl to Oracledb_session Doc (#3632)
* Add SQLcl option to oracledb_session.md.erb Added sqlcl_bin option to oracledb_session documentation. * Add SQLcl option to oracledb_session.md.erb Signed-off-by: ibsavage <ianbsavage1@gmail.com>
This commit is contained in:
parent
893e234df4
commit
79f7239c69
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ where
|
|||
|
||||
* `oracledb_session` declares a username and password with permission to run the query (required), and an optional parameters for host (default: `localhost`), SID (default: `nil`, which uses the default SID, and path to the sqlplus binary (default: `sqlplus`).
|
||||
* it is possible to run queries as sysdba/sysoper by using `as_db_role option`, see examples
|
||||
* SQLcl can be used in place of sqlplus. Use the `sqlcl_bin` option to set the sqlcl binary path instead of `sqlplus_bin`.
|
||||
* `query('QUERY')` contains the query to be run
|
||||
* `its('value') { should eq('') }` compares the results of the query against the expected result in the test
|
||||
|
||||
|
|
Loading…
Reference in a new issue