-
Notifications
You must be signed in to change notification settings - Fork 375
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
oscap-podman creates invalid ARFs #2167
Comments
Isn't the case that "oscap" command is generating an invalid ARF instead, because oscap-podman is just a wrapper. So we should rather look into oscap behavior when scanning a container. Maybe OpenSCAP doesn't know what to put into that field when there is not a valid hostname (probably because it's a container), and puts nothing instead. |
Maybe the Line 315 in 97d8831
|
Description of Problem:
I have a problem that
oscap-podman
creates invalid ARFs.This is a problem because openscap-report can't process invalid ARFs.
OpenSCAP Version:
openscap-1.4.0-1.fc40.x86_64
scap-security-guide-0.1.74-1.fc40.noarch
Operating System & Version:
F 40
Steps to Reproduce:
Actual Results:
The
<ai:hostname>
element in the produced ARF file is empty.Expected Results:
The
<ai:hostname>
element in the produced ARF file isn't empty.Additional Information / Debugging Steps:
No
The text was updated successfully, but these errors were encountered: