Trying to convert some OpenSCAP produced XCCDF results XML into HDF using xccdf_results_mapper on two different systems and have received the following error message in each case.
[number6@localhost Documents]$ sudo docker run -it -v $(pwd):/share mitre/heimdall_tools xccdf_results_mapper -x rhel7scap_2.xml -o hdf_results.json
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Traceback (most recent call last):
13: from /usr/local/bundle/bin/heimdall_tools:23:in <main>' 12: from /usr/local/bundle/bin/heimdall_tools:23:inload'
11: from /usr/local/bundle/gems/heimdall_tools-1.3.48.1.g88bd047/exe/heimdall_tools:14:in <top (required)>' 10: from /usr/local/bundle/gems/thor-0.20.3/lib/thor/base.rb:466:instart'
9: from /usr/local/bundle/gems/heimdall_tools-1.3.48.1.g88bd047/lib/heimdall_tools/command.rb:44:in dispatch' 8: from /usr/local/bundle/gems/thor-0.20.3/lib/thor.rb:387:indispatch'
7: from /usr/local/bundle/gems/thor-0.20.3/lib/thor/invocation.rb:126:in invoke_command' 6: from /usr/local/bundle/gems/thor-0.20.3/lib/thor/command.rb:27:inrun'
5: from /usr/local/bundle/gems/heimdall_tools-1.3.48.1.g88bd047/lib/heimdall_tools/cli.rb:49:in xccdf_results_mapper' 4: from /usr/local/bundle/gems/heimdall_tools-1.3.48.1.g88bd047/lib/heimdall_tools/xccdf_results_mapper.rb:117:into_hdf'
3: from /usr/local/bundle/gems/heimdall_tools-1.3.48.1.g88bd047/lib/heimdall_tools/xccdf_results_mapper.rb:117:in each_with_index' 2: from /usr/local/bundle/gems/heimdall_tools-1.3.48.1.g88bd047/lib/heimdall_tools/xccdf_results_mapper.rb:117:ineach'
1: from /usr/local/bundle/gems/heimdall_tools-1.3.48.1.g88bd047/lib/heimdall_tools/xccdf_results_mapper.rb:132:in block in to_hdf' /usr/local/bundle/gems/heimdall_tools-1.3.48.1.g88bd047/lib/heimdall_tools/xccdf_results_mapper.rb:93:insatisfies_parse': undefined method `match' for # (NoMethodError)
Trying to convert some OpenSCAP produced XCCDF results XML into HDF using xccdf_results_mapper on two different systems and have received the following error message in each case.
[number6@localhost Documents]$ sudo docker run -it -v $(pwd):/share mitre/heimdall_tools xccdf_results_mapper -x rhel7scap_2.xml -o hdf_results.json Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg. Traceback (most recent call last): 13: from /usr/local/bundle/bin/heimdall_tools:23:in (NoMethodError)
<main>' 12: from /usr/local/bundle/bin/heimdall_tools:23:in
load' 11: from /usr/local/bundle/gems/heimdall_tools-1.3.48.1.g88bd047/exe/heimdall_tools:14:in<top (required)>' 10: from /usr/local/bundle/gems/thor-0.20.3/lib/thor/base.rb:466:in
start' 9: from /usr/local/bundle/gems/heimdall_tools-1.3.48.1.g88bd047/lib/heimdall_tools/command.rb:44:indispatch' 8: from /usr/local/bundle/gems/thor-0.20.3/lib/thor.rb:387:in
dispatch' 7: from /usr/local/bundle/gems/thor-0.20.3/lib/thor/invocation.rb:126:ininvoke_command' 6: from /usr/local/bundle/gems/thor-0.20.3/lib/thor/command.rb:27:in
run' 5: from /usr/local/bundle/gems/heimdall_tools-1.3.48.1.g88bd047/lib/heimdall_tools/cli.rb:49:inxccdf_results_mapper' 4: from /usr/local/bundle/gems/heimdall_tools-1.3.48.1.g88bd047/lib/heimdall_tools/xccdf_results_mapper.rb:117:in
to_hdf' 3: from /usr/local/bundle/gems/heimdall_tools-1.3.48.1.g88bd047/lib/heimdall_tools/xccdf_results_mapper.rb:117:ineach_with_index' 2: from /usr/local/bundle/gems/heimdall_tools-1.3.48.1.g88bd047/lib/heimdall_tools/xccdf_results_mapper.rb:117:in
each' 1: from /usr/local/bundle/gems/heimdall_tools-1.3.48.1.g88bd047/lib/heimdall_tools/xccdf_results_mapper.rb:132:inblock in to_hdf' /usr/local/bundle/gems/heimdall_tools-1.3.48.1.g88bd047/lib/heimdall_tools/xccdf_results_mapper.rb:93:in
satisfies_parse': undefined method `match' for #