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

Fix incorrect openscap-cpe-oval result filename #2037

Merged
merged 1 commit into from
Sep 25, 2023

Conversation

rmetrich
Copy link
Contributor

When using oscap xccdf eval --oval-results command, the oval result file is not expected one (openscap-cpe-oval.xml.result.xml), but %2Fusr%2Fshare%2Fopenscap%2Fcpe%2Fopenscap-cpe-oval.xml.result.xml.

This patch fixes the issue.

When using `oscap xccdf eval --oval-results` command, the oval result
file is not expected one (`openscap-cpe-oval.xml.result.xml`), but
`%2Fusr%2Fshare%2Fopenscap%2Fcpe%2Fopenscap-cpe-oval.xml.result.xml`.

Signed-off-by: Renaud Métrich <rmetrich@redhat.com>
@rmetrich
Copy link
Contributor Author

Coresponding RHEL Jira: https://issues.redhat.com/browse/RHEL-7050

@jan-cerny jan-cerny self-assigned this Sep 25, 2023
@jan-cerny jan-cerny added this to the 1.3.10 milestone Sep 25, 2023
Copy link
Member

@jan-cerny jan-cerny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have generated the results and I have seen that the file name now doesn't contain the base 64 path.

The CI fail is caused by incompatibility of the sysctl probe with the kernel in the workers and therefore isn't related to the contents of this PR.

Thanks for your patch.

@jan-cerny jan-cerny merged commit 1c8f16d into OpenSCAP:maint-1.3 Sep 25, 2023
17 of 20 checks passed
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.

2 participants