EOLAuditModeUsage
The department is: EOLAuditModeUsage
The full name of the cop is: Chef/Deprecations/EOLAuditModeUsage
Enabled by default | Supports autocorrection | Target Chef Version |
---|---|---|
Enabled | No | All 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 or the Compliance Phase introduced in Chef Infra Client 17. 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
Name | Default value | Configurable values |
---|---|---|
Version Added | 5.10.0 | String |
Include | Array |