Skip to content
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

Update nist-validation test to provide more granular results #275

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

matusmarhefka
Copy link
Contributor

Scapval tool is failing when we build SCE content by default in RHEL 9 and RHEL 10 data streams because it doesn't expect content to use checking systems other than the OVAL and OCIL (base requirement SRC-118). For more details see ComplianceAsCode/content#12488

We can waive this fail, it shouldn't cause any problems for 3rd party scanners as our content still contains also OVAL checks. To do so the test has been updated to parse XML results file generated by the scapval tool.

The test is also updated to work on RHEL 10 where java-21-openjdk is the default as scapval tool has no problem running with this newer version of java.

static-checks/nist-validation/test.py Outdated Show resolved Hide resolved
static-checks/nist-validation/test.py Outdated Show resolved Hide resolved
Scapval tool is failing when we build SCE content by default
in RHEL 9 and RHEL 10 data streams because it doesn't expect
content to use checking systems other than the OVAL and OCIL
(base requirement `SRC-118`). For more details see
ComplianceAsCode/content#12488

We can waive this fail, it shouldn't cause any problems for
3rd party scanners as our content still contains also OVAL
checks. To do so the test has been updated to parse XML results
file generated by the scapval tool.

The test is also updated to work on RHEL 10 where `java-21-openjdk`
is the default as scapval tool has no problem running with this
newer version of java.
@mildas mildas merged commit 18b8add into RHSecurityCompliance:main Oct 18, 2024
3 checks passed
@matusmarhefka matusmarhefka deleted the scapval branch October 18, 2024 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants