Closed PiRomant closed 3 months ago
rpm
is only used to check version of oscap
https://github.com/theforeman/foreman_scap_client/blob/57b0a55dae1b5c5d826e1665d73a38d0be6b42fd/lib/foreman_scap_client/client.rb#L46-L51
Why not use:
oscap --version | grep "OpenSCAP command line tool (oscap)" | awk '{print $NF}'
Meanwhile, version 0.5.0 works fine
At the moment, we're considering a complete rewrite of foreman_scap_client
to address various issues that are currently present so noone is really going to rush to fix an issue for a platform that we don't even package this for just to drop it in a foreseeable future.
At the same time, this is an open source project and patches are always welcome so if you feel strongly about this, that could be an option.
Should be out on rubygems in foreman_scap_client-0.6.1
Version 0.6.0 Running at Ubuntu 22.04