Skip to content

Optimize OVALs in multiple rules to avoid errors caused by non-UTF file names#14712

Merged
Mab879 merged 13 commits into
ComplianceAsCode:masterfrom
jan-cerny:mitigate_arpc_2
May 13, 2026
Merged

Optimize OVALs in multiple rules to avoid errors caused by non-UTF file names#14712
Mab879 merged 13 commits into
ComplianceAsCode:masterfrom
jan-cerny:mitigate_arpc_2

Conversation

@jan-cerny
Copy link
Copy Markdown
Collaborator

Description:

This PR applies the change that we did in rule audit_rules_privileged_commands in #14706 to other rules that contain a similar check in OVAL. All contain a regular expression in the filename element that matches any file name.

Test scenarios simulating this situation has been added.

Related to: https://redhat.atlassian.net/browse/RHEL-171005

This PR doesn't solve the problem with non-UTF characters. But, it will avoid this problem in some situations. That will reduce the amount of errors that the user experiences.

jan-cerny added 13 commits May 13, 2026 11:39
This change should help avoid issues with PCRE when file names contain
non-UTF characters.

A test scenario simulating this situation has been added.

Related to: https://redhat.atlassian.net/browse/RHEL-171005
This change should help avoid issues with PCRE when file names contain
non-UTF characters.

A test scenario simulating this situation has been added.

Related to: https://redhat.atlassian.net/browse/RHEL-171005
This change should help avoid issues with PCRE when file names contain
non-UTF characters.

A test scenario simulating this situation has been added.

Related to: https://redhat.atlassian.net/browse/RHEL-171005
This change should help avoid issues with PCRE when file names contain
non-UTF characters.

A test scenario simulating this situation has been added.

Related to: https://redhat.atlassian.net/browse/RHEL-171005
This change should help avoid issues with PCRE when file names contain
non-UTF characters.

A test scenario simulating this situation has been added.

Related to: https://redhat.atlassian.net/browse/RHEL-171005
This change should help avoid issues with PCRE when file names contain
non-UTF characters.

A test scenario simulating this situation has been added.

Related to: https://redhat.atlassian.net/browse/RHEL-171005
This change should help avoid issues with PCRE when file names contain
non-UTF characters.

A test scenario simulating this situation has been added.

Related to: https://redhat.atlassian.net/browse/RHEL-171005
This change should help avoid issues with PCRE when file names contain
non-UTF characters.

A test scenario simulating this situation has been added.

Related to: https://redhat.atlassian.net/browse/RHEL-171005
This change should help avoid issues with PCRE when file names contain
non-UTF characters.

A test scenario simulating this situation has been added.

Related to: https://redhat.atlassian.net/browse/RHEL-171005
This change should help avoid issues with PCRE when file names contain
non-UTF characters.

A test scenario simulating this situation has been added.

Related to: https://redhat.atlassian.net/browse/RHEL-171005
This change should help avoid issues with PCRE when file names contain
non-UTF characters.

A test scenario simulating this situation has been added.

Related to: https://redhat.atlassian.net/browse/RHEL-171005
This change should help avoid issues with PCRE when file names contain
non-UTF characters.

A test scenario simulating this situation has been added.

Related to: https://redhat.atlassian.net/browse/RHEL-171005
This change should help avoid issues with PCRE when file names contain
non-UTF characters.

A test scenario simulating this situation has been added.

Related to: https://redhat.atlassian.net/browse/RHEL-171005
@jan-cerny jan-cerny added this to the 0.1.81 milestone May 13, 2026
@jan-cerny jan-cerny added the OVAL OVAL update. Related to the systems assessments. label May 13, 2026
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented May 13, 2026

@jan-cerny: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-openshift-platform-compliance b59f4fa link true /test e2e-aws-openshift-platform-compliance
ci/prow/e2e-aws-openshift-node-compliance b59f4fa link true /test e2e-aws-openshift-node-compliance

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

@Mab879 Mab879 self-assigned this May 13, 2026
@Mab879
Copy link
Copy Markdown
Member

Mab879 commented May 13, 2026

The testing farm errors are not caused by this PR.

@Mab879 Mab879 merged commit 2955111 into ComplianceAsCode:master May 13, 2026
60 of 69 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OVAL OVAL update. Related to the systems assessments.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants