mirror of
https://github.com/dev-sec/linux-baseline
synced 2024-11-26 13:00:21 +00:00
fix rubocop Conventions
This commit is contained in:
parent
50abb79577
commit
c27fc05aee
2 changed files with 19 additions and 17 deletions
|
@ -26,7 +26,8 @@ if os.redhat?
|
|||
elsif os.debian?
|
||||
shadow_group = 'shadow'
|
||||
end
|
||||
blacklist = attribute('blacklist',
|
||||
blacklist = attribute(
|
||||
'blacklist',
|
||||
default: [
|
||||
# blacklist as provided by NSA
|
||||
'/usr/bin/rcp', '/usr/bin/rlogin', '/usr/bin/rsh',
|
||||
|
@ -68,7 +69,8 @@ blacklist = attribute('blacklist',
|
|||
# '/usr/bin/wall',
|
||||
# '/usr/bin/chage',
|
||||
# '/usr/bin/bsd-write'
|
||||
], description: 'blacklist of suid/sgid program on system'
|
||||
],
|
||||
description: 'blacklist of suid/sgid program on system'
|
||||
)
|
||||
|
||||
control 'os-01' do
|
||||
|
|
Loading…
Reference in a new issue