-
Bug
-
Resolution: Done-Errata
-
Normal
-
6.15.0
-
1
-
False
-
-
False
-
CLOSED
-
rubygem-foreman_scap_client-0.5.3
-
0
-
Endeavour
-
-
-
Moderate
-
Yes
Description of problem:
Unable to generate openscap reports on RHEL 7 Satellite Clients
Version-Release number of selected component (if applicable):
rubygem-foreman_scap_client.noarch 0:0.5.2-1.el7sat
How reproducible:
Consistent in my lab, but I believe this is consistent on any RHEL 7 server
Steps to Reproduce:
1. Update to rubygem-foreman_scap_client.noarch 0:0.5.2-1.el7sat
2. Attempt to gather a scap report
3. Capture error
Actual results:
DEBUG: running: oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_standard --results-arf /tmp/d20240506-22734-54t72y/results.xml /var/lib/openscap/content/96c2a9d5278d5da905221bbb2dc61d0ace7ee3d97f021fccac994d26296d986d.xml
/usr/share/gems/gems/foreman_scap_client-0.5.2/lib/foreman_scap_client/base_client.rb:84:in `run_scan': undefined method `scrub' for #<String:0x00000001d1dfe8> (NoMethodError)
from /usr/share/gems/gems/foreman_scap_client-0.5.2/lib/foreman_scap_client/base_client.rb:77:in `scan'
from /usr/share/gems/gems/foreman_scap_client-0.5.2/lib/foreman_scap_client/base_client.rb:50:in `block in run_in_tmpdir'
from /usr/share/ruby/tmpdir.rb:88:in `mktmpdir'
from /usr/share/gems/gems/foreman_scap_client-0.5.2/lib/foreman_scap_client/base_client.rb:48:in `run_in_tmpdir'
from /usr/share/gems/gems/foreman_scap_client-0.5.2/lib/foreman_scap_client/base_client.rb:21:in `run'
from /usr/share/gems/gems/foreman_scap_client-0.5.2/bin/foreman_scap_client:14:in `<top (required)>'
from /usr/bin/foreman_scap_client:23:in `load'
from /usr/bin/foreman_scap_client:23:in `<main>'
Expected results:
DEBUG: running: oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_standard --results-arf /tmp/d20240506-23809-15upgj5/results.xml /var/lib/openscap/content/96c2a9d5278d5da905221bbb2dc61d0ace7ee3d97f021fccac994d26296d986d.xml
WARNING: This content points out to the remote resources. Use `--fetch-remote-resources' option to download them.
WARNING: Skipping https://www.redhat.com/security/data/oval/com.redhat.rhsa-RHEL7.xml.bz2 file which is referenced from XCCDF content
DEBUG: running: /usr/bin/env bzip2 /tmp/d20240506-23809-15upgj5/results.xml
Uploading results to https://sat6.example.com:9090/compliance/arf/1
Report uploaded, report id: 11461
Additional info:
Workaround: '# yum downgrade rubygem-foreman_scap_client`
- external trackers
- links to
-
RHBA-2024:140284 Important: Satellite 6.16.0 release