OpenSCAP / openscap-report

Tool for generating a report from results of oscap scan.
Other
17 stars 9 forks source link

Fix empty Value property value #209

Closed Honny1 closed 11 months ago

Honny1 commented 11 months ago

This PR fixes crashes caused by empty values in the Value component. It is represented as None instead of an empty string in the lxml parser. The value of the Value component that was used during the scan is obtained from the set-value elements. In this case, it represents a self-closing set-value tag.

The ID of the Value component that caused the problem is xccdf_org.ssgproject.content_value_var_pam_wheel_group_for_su.

Fixes: #207