-
Notifications
You must be signed in to change notification settings - Fork 714
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
Implement workaround for broken file-traversing rules on Ubuntu 24.04 #12959
Implement workaround for broken file-traversing rules on Ubuntu 24.04 #12959
Conversation
This is a temporary workaround for the broken partition probe in Ubuntu 24.04 (oscap 1.3.9) which results in the OVAL always returning true. Bug: OpenSCAP/openscap#2026
This is a temporary workaround for the broken partition probe in Ubuntu 24.04 (oscap 1.3.9) which results in the OVAL always returning true. Bug: OpenSCAP/openscap#2026
This is a temporary workaround for the broken partition probe in Ubuntu 24.04 (oscap 1.3.9) which results in the OVAL always returning true. Bug: OpenSCAP/openscap#2026
This is a temporary workaround for the broken partition probe in Ubuntu 24.04 (oscap 1.3.9) which results in the OVAL always returning true. Bug: OpenSCAP/openscap#2026
Hi @mpurg. Thanks for your PR. I'm waiting for a ComplianceAsCode member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Code Climate has analyzed commit b8dbc83 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 61.9% (0.0% change). View more on Code Climate. |
During review of PR ComplianceAsCode#12959 we discovered a bug that SCE checks don't propagate to the built SCAP data stream if the `platform` key in SCE header specifies platform using a full product name. We will fix this problem by reusing the function used for processing `platform` key in remediation files. That will ensure the behavior in SCE will be the same as in remediations. The unit test data will be extended so that the test would fail if this bug isn't fixed.
@@ -0,0 +1,33 @@ | |||
#!/usr/bin/env bash | |||
# platform = Ubuntu 24.04 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The SCE check is dropped during the build and isn't part of the built data stream. I have found that it's a bug in processing the platform
key by our build system. I have opened a PR that attempts to fix this bug. #12961
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch, thanks for the fix!
Description:
Rationale: