Skip to content

Commit

Permalink
resolves #66 (#67)
Browse files Browse the repository at this point in the history
* resolves #66

Signed-off-by: Will <[email protected]>

* provide wrapper structure around raw data for the ini resource's constructor

Signed-off-by: Amndeep Singh Mann <[email protected]>

* lint

Signed-off-by: Amndeep Singh Mann <[email protected]>

* exists is not a matcher that works here - not sure if we need a replacement - just returns an empty string that obv isn't in the array of expected values

Signed-off-by: Amndeep Singh Mann <[email protected]>

---------

Signed-off-by: Will <[email protected]>
Signed-off-by: Amndeep Singh Mann <[email protected]>
Co-authored-by: Amndeep Singh Mann <[email protected]>
  • Loading branch information
wdower and Amndeep7 authored Oct 16, 2024
1 parent 2814bb1 commit 46fd72d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions controls/SV-257949.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@
end
end
else
describe ini(network_manager) do
its('main.dns') { should exist }
describe ini({ content: network_manager.stdout.strip }) do
its('main.dns') { should be_in ['none', 'default'] }
end
end
Expand Down
1 change: 1 addition & 0 deletions controls/SV-258143.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
tag 'host', 'container'

if input('log_aggregator')
impact 0.0
describe 'N/A' do
skip 'This control is NA because the system is a log aggregation server.'
end
Expand Down

0 comments on commit 46fd72d

Please sign in to comment.