-
Notifications
You must be signed in to change notification settings - Fork 796
Various "unowned" rules have broken .fail.sh unit tests #13778
Copy link
Copy link
Closed
Labels
RHELRed Hat Enterprise Linux product related.Red Hat Enterprise Linux product related.RHEL10Red Hat Enterprise Linux 10 product related.Red Hat Enterprise Linux 10 product related.RHEL8Red Hat Enterprise Linux 8 product related.Red Hat Enterprise Linux 8 product related.RHEL9Red Hat Enterprise Linux 9 product related.Red Hat Enterprise Linux 9 product related.productization-issueIssue found in upstream stabilization process.Issue found in upstream stabilization process.triaged
Metadata
Metadata
Assignees
Labels
RHELRed Hat Enterprise Linux product related.Red Hat Enterprise Linux product related.RHEL10Red Hat Enterprise Linux 10 product related.Red Hat Enterprise Linux 10 product related.RHEL8Red Hat Enterprise Linux 8 product related.Red Hat Enterprise Linux 8 product related.RHEL9Red Hat Enterprise Linux 9 product related.Red Hat Enterprise Linux 9 product related.productization-issueIssue found in upstream stabilization process.Issue found in upstream stabilization process.triaged
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description of problem:
Something recently (1 day ago) broke these unit tests:
which are now unable to set up the test scenarios in a way to FAIL the subsequent scan, since the scan PASSes even without any remediation.
SCAP Security Guide Version:
master @ 3a149cf
The issue probably happened between 0efc6e4 (1 day ago) and the commit above, see https://github.com/ComplianceAsCode/content/compare/0efc6e4f5a1d8156f06c5ec451c58a9ea6924c56..3a149cff834f81738ca6b3efe75f5fb20409d761 .
That seems to suggest #13758 to be the culprit.
Operating System Version:
RHEL 10, 9, 8
Steps to Reproduce:
/per-rule/oscap/from-envfrom Contest, give itRULE="file_permissions_ungroupowned no_files_unowned_by_user file_permissions_unauthorized_world_writable"Actual Results:
The tests set up the scan to fail
Expected Results:
The tests set up the scan to pass
Additional Information/Debugging Steps: