Cookstyle 7.14 released with 2 new InSpec Cops!

Hey everyone,

It's been a while, but we have an exciting new release of Cookstyle out today. Cookstyle 7.14 adds our first ever InSpec cops allowing you to use Cookstyle for all your infra and compliance code.

What's New

RuboCop 1.17

The RuboCop engine that powers Cookstyle has been updated to 1.17.0. This new release improves autocorrection and resolves a large number of detection errors.

InSpec Cops

Cookstyle now includes Chef InSpec specific Cops in the InSpec/Deprecations department. These new Chef InSpec cops help with the migration from InSpec attributes to inputs. We plan to add additional deprecation and correctness cops for InSpec in the future. If you have any ideas for InSpec cops you'd like to see added, please request a new cop.


The Chef/Deprecations/AttributeDefault cop detects Chef InSpec profiles that pass the default option to attribute or input helpers instead of the newer value option.

Enabled by default: True

Autocorrects: False


The Chef/Deprecations/AttributeHelper cop detects Chef InSpec profiles that use the deprecated attribute helper instead of the input helper.

Enabled by default: True

Autocorrects: False