We are delighted to announce the availability of Chef InSpec version 7.1.7!
Key features
- InSpec 7.1 is built entirely on Chef Habitat. We aren't providing traditional Omnibus builds.
Improvements
Added a trust_server_certificate option to the mssql_session resource to support SQL Server instances that require encrypted connections, such as SQL Server 2025 and later. This backports the trust_server_certificate option from Chef InSpec 5.24. (#7791)
Bug fixes
- Fixed resource ID extraction in the JSON reporter to correctly prefer the resource object's ID when available, escape regular expressions, and cap resource IDs at 256 characters to prevent bloated reports. (#7799)
- Fixed the AST parser for
inspec checkto correctly handle array nodes, nested hash nodes inside array elements, and empty control blocks. (#7641) - Fixed an issue where controls waived with
run: falseevaluated the entire control block before skipping, causing expensive commands to run unnecessarily. (#7870)
Packaging
We added OS-native packages alongside the existing Habitat packages.
You can download packages from the Chef customer download portal or the download API.
The following native packages are available:
- Linux x86: RPM (
.rpm) and DEB (.deb) packages - Windows x86: MSI installer (
.msi)
OS-native packages aren't available for Linux ARM or macOS.
Dependency updates
- Updated
addressablegem from2.4to2.9.0. (#7833) - Updated
jsongem from>= 1.8to>= 2.19.2. (#829) - Updated
activesupportgem from>= 7.2.2.1to>= 7.2.3.1. (#830) - Updated
faradaygem from1.10.4to1.10.5. (#7887) - Updated
erbgem from4.0.4to4.0.4.1. (#7895) - Updated
zlibgem from3.2.1to3.2.3. (#7895) - Pinned
rakegem to>= 12.3.3. (#7890)