content icon indicating copy to clipboard operation
content copied to clipboard

Review packages in xwindows_remove_packages rule

Open marcusburghardt opened this issue 1 year ago • 0 comments

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:

  1. ./build_product rhel9 sle15 ol9
  2. ./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.

marcusburghardt avatar Sep 18 '24 07:09 marcusburghardt