Skip to content

Commit

Permalink
Merge pull request #152 from nejch/fix/sestatus-loaded-policy
Browse files Browse the repository at this point in the history
fix: allow alternative output for sestatus policy
  • Loading branch information
schurzi committed Oct 28, 2023
2 parents 71f0645 + 540d6e2 commit d1e5504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controls/1_6_mandatory_access_control.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
end

describe command('sestatus') do
its('stdout') { should match /Policy from config file:\s+(targeted|mls)/ }
its('stdout') { should match /(Loaded policy name|Policy from config file):\s+(targeted|mls)/ }
end

only_if { cis_level == 2 }
Expand Down

0 comments on commit d1e5504

Please sign in to comment.