fix logrotate_configuration enforcement #97
Annotations
10 errors
Run tests:
spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on almalinux-8-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root"
Failure/Error:
is_expected.to contain_file_line('change /etc/logrotate.d/alternatives')
.with(
'ensure' => 'present',
'path' => '/etc/logrotate.d/alternatives',
'line' => 'create 640 root root',
'match' => 'create 644 root root',
)
expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
|
Run tests:
spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on ubuntu-22.04-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root"
Failure/Error:
is_expected.to contain_file_line('change /etc/logrotate.d/alternatives')
.with(
'ensure' => 'present',
'path' => '/etc/logrotate.d/alternatives',
'line' => 'create 640 root root',
'match' => 'create 644 root root',
)
expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
|
Run tests:
spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on sles-12-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root"
Failure/Error:
is_expected.to contain_file_line('change /etc/logrotate.d/alternatives')
.with(
'ensure' => 'present',
'path' => '/etc/logrotate.d/alternatives',
'line' => 'create 640 root root',
'match' => 'create 644 root root',
)
expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
|
Run tests:
spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on ubuntu-18.04-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root"
Failure/Error:
is_expected.to contain_file_line('change /etc/logrotate.d/alternatives')
.with(
'ensure' => 'present',
'path' => '/etc/logrotate.d/alternatives',
'line' => 'create 640 root root',
'match' => 'create 644 root root',
)
expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
|
Run tests:
spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on sles-15-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root"
Failure/Error:
is_expected.to contain_file_line('change /etc/logrotate.d/alternatives')
.with(
'ensure' => 'present',
'path' => '/etc/logrotate.d/alternatives',
'line' => 'create 640 root root',
'match' => 'create 644 root root',
)
expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
|
Run tests:
spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on rocky-8-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root"
Failure/Error:
is_expected.to contain_file_line('change /etc/logrotate.d/alternatives')
.with(
'ensure' => 'present',
'path' => '/etc/logrotate.d/alternatives',
'line' => 'create 640 root root',
'match' => 'create 644 root root',
)
expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
|
Run tests:
spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on redhat-7-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root"
Failure/Error:
is_expected.to contain_file_line('change /etc/logrotate.d/alternatives')
.with(
'ensure' => 'present',
'path' => '/etc/logrotate.d/alternatives',
'line' => 'create 640 root root',
'match' => 'create 644 root root',
)
expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
|
Run tests:
spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on debian-11-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root"
Failure/Error:
is_expected.to contain_file_line('change /etc/logrotate.d/alternatives')
.with(
'ensure' => 'present',
'path' => '/etc/logrotate.d/alternatives',
'line' => 'create 640 root root',
'match' => 'create 644 root root',
)
expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
|
Run tests:
spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on rocky-9-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root"
Failure/Error:
is_expected.to contain_file_line('change /etc/logrotate.d/alternatives')
.with(
'ensure' => 'present',
'path' => '/etc/logrotate.d/alternatives',
'line' => 'create 640 root root',
'match' => 'create 644 root root',
)
expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
|
Run tests:
spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on debian-10-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root"
Failure/Error:
is_expected.to contain_file_line('change /etc/logrotate.d/alternatives')
.with(
'ensure' => 'present',
'path' => '/etc/logrotate.d/alternatives',
'line' => 'create 640 root root',
'match' => 'create 644 root root',
)
expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
|
Loading