Skip to main content

EOLAuditModeUsage

All Cookstyle Cops


The department is: Chef/Deprecations

The full name of the cop is: Chef/Deprecations/EOLAuditModeUsage


Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledNoAll Versions

The beta Audit Mode for Chef Infra Client was removed in Chef Infra Client 15.0. Users should instead use InSpec and the audit cookbook. See https://www.inspec.io/ for more information.

Examples

incorrect

control_group 'Baseline' do
  control 'SSH' do
    it 'should be listening on port 22' do
      expect(port(22)).to be_listening
    end
  end
end

Configurable attributes

NameDefault valueConfigurable values
Version Added5.10.0String
Exclude
  • **/metadata.rb
  • **/attributes/*.rb
  • **/Berksfile
Array

Was this page helpful?