Skip to content

Commit

Permalink
invalid multibyte char (US-ASCII) (#29)
Browse files Browse the repository at this point in the history
* [skip_ci] Quick Update

* [skip_ci] Quick Update

* [skip_ci] Quick Update

* [skip_ci] Quick Update

* [skip_ci] Quick Update

* [skip_ci] Quick Update

* Updating profile.json in the repository

---------

Co-authored-by: jrmetzger <[email protected]>
  • Loading branch information
jrmetzger and jrmetzger authored May 7, 2024
1 parent 4c6ac6e commit 950f495
Show file tree
Hide file tree
Showing 7 changed files with 3,356 additions and 3,348 deletions.
6 changes: 3 additions & 3 deletions controls/SV-238204.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@

grubfile_passes = grubfile.any? { |line| line.match?(/^password_pbkdf2\s+root/) }

describe "Grub" do
it "should use an encrypted password for root" do
expect(grubfile_passes).to be_true, "No password set for root in grub config"
describe 'Grub' do
it 'should use an encrypted password for root' do
expect(grubfile_passes).to be_true, 'No password set for root in grub config'
end
end
end
2 changes: 1 addition & 1 deletion controls/SV-238219.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
If X11
services are not required for the system's intended function, they should be disabled or
restricted as appropriate to the systems needs. "
restricted as appropriate to the system's needs. "
desc 'check', "Verify that X11Forwarding is disabled with the following command:
$ grep -ir
Expand Down
3 changes: 1 addition & 2 deletions controls/SV-238298.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
$ dpkg -l | grep auditd
If the \"auditd\" package is not installed, this is a finding.
If the \"auditd\" package is not installed, this is a finding.
Verify the audit service is enabled with the following command:
Expand Down
4 changes: 2 additions & 2 deletions controls/SV-238305.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
are written to (with the example being \"/var/log/audit/\") with the following command:
$
sudo df h /var/log/audit/
sudo df -h /var/log/audit/
/dev/sda2 24G 10.4G 13.6G 43% /var/log/audit
If the audit
records are not written to a partition made specifically for audit records
(\"/var/log/audit\" is a separate partition), determine the amount of space being used by
other files in the partition with the following command:
$ sudo du sh [audit_partition]
$ sudo du -sh [audit_partition]
1.8G /var/log/audit
Expand Down
2 changes: 1 addition & 1 deletion controls/SV-238346.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
tag cci: ['CCI-001495']
tag nist: ['AU-9']
tag 'host', 'container'

system_commands = command('find /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin ! -group root -type d').stdout.strip.split("\n").entries
valid_system_commands = Set[]

Expand Down
2 changes: 1 addition & 1 deletion controls/SV-238360.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
$ dpkg -l |
grep apparmor
If the \"apparmor\" package is not installed, this is a finding.
If the \"apparmor\" package is not installed, this is a finding.
$ systemctl
is-active apparmor.service
Expand Down
6,685 changes: 3,347 additions & 3,338 deletions profile.json

Large diffs are not rendered by default.

0 comments on commit 950f495

Please sign in to comment.