-
Notifications
You must be signed in to change notification settings - Fork 706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ansible STIG on Centos Stream 8 fails on crypto policies related rules (testing-farm:centos-stream-8-x86_64
)
#10978
Comments
Here is the HTML report: https://artifacts.dev.testing-farm.io/0c32a048-e3e9-4e62-9187-2ebd48c8ab79/work-ansible-stig7hwfuudf/tests/fmf-plans/ansible-stig/execute/data/guest/default-0/Sanity/ansible-machine-hardening/stig-1/data/stig.html there is also the sos-report in this folder if one needs to look into configuration files: https://artifacts.dev.testing-farm.io/0c32a048-e3e9-4e62-9187-2ebd48c8ab79/work-ansible-stig7hwfuudf/tests/fmf-plans/ansible-stig/execute/data/guest/default-0/Sanity/ansible-machine-hardening/stig-1/data/ |
The ansible output shows that tasks changed the system, so one would expect that the files would contain the expected configuration lines, but they are not there. It's still unclear if the change happens but gets reverted after the machine is rebooted. |
This looks pretty much like #10664, and although the issue has been solved for RHEL9 by removing the rules, the same solution can't be applied to RHEL8, as unlike with RHEL9, those rules are to basically correct. However, with RHEL9, the same behavior was observed - rules haven't survived the reboot, and I haven't been able to reproduce it at that time, and finding a reproducer also turned out as not necessary. It may be that the Crypto Policy is somehow reset between the remediation and the subsequent scan. A reboot alone is not enough for the reset, there have to be some unknown additional conditions. From what I remember:
|
The test started passing without any intervention. It was a problem with the Centos Stream compose and we were not able to identify what exactly was. This can be closed and the required test |
The test is re-enabled as required again. |
Description of problem:
https://github.com/ComplianceAsCode/content/runs/15884049912
Additional Information/Debugging Steps:
The requirement for the test
testing-farm:centos-stream-8-x86_64
has been disabled temporarily until this problem is solved.The text was updated successfully, but these errors were encountered: