Task #36527
openGitHub | README.md | Up-to-date instructions needed
Description
For reference¶
On GitHub, at https://github.com/theforeman/foreman_openscap#basic-concepts
# yum install -y scap-security-guide openscap-scanner
# oscap info /usr/share/xml/scap/ssg/content/ssg-rhel6-ds.xml
# oscap info /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml
Description¶
Hello.
- YUM, despite being present within RHEL/Fedora OSs, has been replaced for reason by DNF. Hence it would be worth being updated according to:
# dnf -y install scap-security-guide openscap-scanner
.
- oscap info
commands
They were presented while involving an elevated privilege. There is no need for elevated privilege and it should be avoided and exhibited according to.
ssg-rhel6-ds.xml
, since mentioned, implies that the file does exit, hence so does its security guide. However that is not so; illustration in RHEL/Fedora OSs:
$ rpm -ql scap-security-guide | grep -E rhel[6-9]-ds.xml$
/usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml
/usr/share/xml/scap/ssg/content/ssg-rhel8-ds.xml
/usr/share/xml/scap/ssg/content/ssg-rhel9-ds.xml
Involving the file that has the longest support duration remaining appears to be the most appropriate option to involve in command, hence
$ oscap info /usr/share/xml/scap/ssg/content/ssg-rhel9-ds.xml
No data to display