Hello InSpec friends!
We are delighted to announce the availability of Chef InSpec version 7.0.107!
Improvements
-
Added support for detecting Chainguard Linux distros (Wolfi and Chainguard OS). (train #812)
-
Added support for TCPS connections to an Oracle database while using oracledb_session resource ((#7684)
This adds the following additional parameters for TCPS connection
tns_alias: TNS alias from Oracle'stnsnames.oraconfiguration file (recommended for TCPS and SSL connections)env: A hash of environment variables (for example,TNS_ADMIN,LD_LIBRARY_PATH,ORACLE_HOME)
For example:
sql = oracledb_session( user: 'my_user', password: 'password', tns_alias: 'MYDB_TCPS', env: { 'TNS_ADMIN' => '/path/to/tnsnames', 'LD_LIBRARY_PATH' => '/opt/oracle/instantclient' } ) describe sql.query('SELECT * FROM dual').row(0).column('dummy') do its('value') { should eq 'X' } end
Bug fixes
- Fixed an issue affecting Windows versions where the WMIC utility is deprecated or removed (Windows 10 version 2004 and later, and Windows 11), which prevented InSpec from detecting the system architecture. Train now falls back to CMD commands (
systeminfoand environment variables) when WMIC isn't available. (train #813)
Security fixes
- Updated
aws-sdk-s3to~> 1.208.0(train-aws #588) - Updated
aws-partitionsto~> 1.992.0(train-aws #588) - Updated
aws-sdk-coreto~> 3.234.0(train-aws #588) - We improved InSpec security on Windows by preventing someone from escalating privileges with an insecure named pipe by enforcing strict ownership validation with Train before connection. (train #818)