Skip to content

Commit

Permalink
cookstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmetzger committed Oct 13, 2023
1 parent 4d8bac3 commit 279f55c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions controls/SV-257787.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@
tag cci: ['CCI-000213']
tag nist: ['AC-3']

describe file("/boot/grub2/user.cfg") do
its("content") { should match(/^\s*GRUB2_PASSWORD=grub.pbkdf2.sha512.\s*.+$/) }
describe file('/boot/grub2/user.cfg') do
its('content') { should match(/^\s*GRUB2_PASSWORD=grub.pbkdf2.sha512.\s*.+$/) }
end
describe file("/etc/grub2.cfg") do
its("content") { should match(/^password_pbkdf2\s*superusers-account\s*\$\{GRUB2_PASSWORD\}$/) }
describe file('/etc/grub2.cfg') do
its('content') { should match(/^password_pbkdf2\s*superusers-account\s*\$\{GRUB2_PASSWORD\}$/) }
end
end

0 comments on commit 279f55c

Please sign in to comment.