We are delighted to announce the availability of Chef InSpec 7.2.1.
Bug fixes
- The
--auto-install-gemsflag now correctly falls back to install the Docker and Podman resource pack gems for bare resource names, such asdockerandpodman, in addition to sub-resources such asdocker_containerandpodman_volume. Previously, running a profile with a baredockerorpodmanresource and--auto-install-gemsraised an undefined method error, because the fallback pattern matching required at least one character after the resource name and so skipped bare resource names. (#7976) - Chef InSpec now correctly loads controls from vendored profiles that include gemspec files in the
vendor/directory. Previously, InSpec identified these as gem profiles instead of regular InSpec profiles, so controls failed to load. (#7962) - Chef InSpec now correctly detects 32-bit applications on Windows by querying
WOW6432Noderegistry paths for all architectures except 32-bit (i386) systems. Previously, when using Test Kitchen with WinRM, InSpec couldn't determine the system architecture, so it skippedWOW6432Nodepaths and 32-bit applications appeared as not installed. (#7942) - Chef InSpec Habitat packages on Linux now bundle the build toolchain required to compile native gem extensions, such as those used by the MongoDB resource pack. Previously, these packages couldn't compile native extensions on hosts without system
gccandmakeinstalled. (#7979)
Deprecated features
- The
--overwriteflag in theinspec compliance uploadcommand is deprecated and will be removed in a future release. This option doesn't work as expected when uploading to Chef Automate. (#7974)
Packaging
- We now provide OS-native Habitat-based Chef InSpec packages for Linux ARM.
- We now release Chef InSpec Habitat packages for Linux ARM (
aarch64-linux). (#7968) - We now release Chef InSpec Habitat packages for Apple Silicon Macs (
aarch64-darwin). (#7987)
Dependency updates
- Updated
trainandtrain-corefrom 3.16.1 to 3.16.5. (#7980) - Updated
chef-licensingfrom 1.4.0 to 1.4.1. (#7983) - Updated gems to support the latest
train-kubernetesrequirements, includingexcon(1.6.0) andk8s-ruby(0.18.0). (#7995, k8s-ruby #19)