Bug 2081777
| Summary: | [RFE] Support the --local-files oscap argument | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Marek Hulan <mhulan> | ||||||
| Component: | SCAP Plugin | Assignee: | satellite6-bugs <satellite6-bugs> | ||||||
| Status: | VERIFIED --- | QA Contact: | addubey | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 6.10.0 | CC: | addubey, ahumbe, chrobert, cldavey, gtalreja, kborup, lstejska, mhulan, osousa, pbadguja, pcreech, sadas, satellite6-bugs | ||||||
| Target Milestone: | 6.14.0 | Keywords: | FutureFeature, Triaged | ||||||
| Target Release: | Unused | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | rubygem-foreman_scap_client-0.5.1 | Doc Type: | If docs needed, set a value | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | |||||||||
| : | 2211952 2227867 (view as bug list) | Environment: | |||||||
| Last Closed: | Type: | Bug | |||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Marek Hulan
2022-05-04 15:25:40 UTC
Hello Team, Any workaround available for now, using which we can pass the parameter( --local-files) in the config file (/etc/foreman_scap_client/config.yaml ), so that during the scan it should refer to the file and perform the checks and upload the report to the satellite. Regards, There is no easy workaround, the only way to make this work now is to manually patch the foreman_scap_client code on every client. This is the line, that needs to be modified https://github.com/theforeman/foreman_scap_client/blob/master/lib/foreman_scap_client/client.rb#L39 The new version of foreman_scap_client 0.5.1 was released in the upstream and includes the fix. Created attachment 1968314 [details]
hotfix rpm
Created attachment 1968315 [details]
hotfix doc rpm
Hotfix instructions: 1. Download the RPM's from the BZ to a folder on the satellite and cd to that directory 2. # yum localinstall * 3. # foreman-maintain service restart This package is typically installed on scanned hosts, not Satellite itself. People need to distribute this to their hosts. Hi Patrick, can we release a new snap of the client repo so QAs can test the change? |