content
content copied to clipboard
Review packages in xwindows_remove_packages rule
Description of problem:
The rule xwindows_remove_packages tries to remove the following packages:
- xorg-x11-server-common
- xorg-x11-server-utils
- xorg-x11-server-Xorg
- xorg-x11-server-Xwayland
SCAP Security Guide Version:
master branch as of 2024-09-18
Operating System Version:
RHEL, SLES and OL
Steps to Reproduce:
- ./build_product rhel9 sle15 ol9
- ./tests/automatus.py rule --libvirt qemu:///session <VM> --datastream build/ssg-
-ds.xml --dontclean --remediate-using bash xwindows_remove_packages
Actual Results:
Depending on the product, the test scenarios will fail because some of the packages are not present.
Expected Results:
Only the relevant packages for each product should be considered.
Additional Information/Debugging Steps:
A simpler way to test is checking the availability of these packages in a system.