openscap-report icon indicating copy to clipboard operation
openscap-report copied to clipboard

Generated report is empty

Open jan-cerny opened this issue 1 year ago • 0 comments

Describe the bug I run oscap with --rule option selecting just a single rule. Then, I generated the report using oscap-report and the report doesn't show any information about the rule. The Rule Overview is empty.

To Reproduce

Generate report from the attached ARF.

The ARF has been created this way:

oscap xccdf eval --profile stig --rule xccdf_org.ssgproject.content_rule_audit_rules_privileged_commands --results-arf /tmp/arf.xml /ssg-cs9-ds-unselected-rules.xml

ARF file arf.zip

Expected behavior Rule Overview isn't empty, it should contain all information about the evaluated rule.

Screenshots image

Environment (please complete the following information):

  • OS: F 40
  • Browser: firefox-132.0-2.fc40.x86_64
  • Python version: python3-3.12.7-1.fc40.x86_64
  • Openscap-report version: openscap-report-1.0.0-1.fc40.noarch

Additional context Hypothesis: This bug should be caused by the fact that the rule specified in --rule isn't a part of the profile specified by --profile.

jan-cerny avatar Nov 22 '24 09:11 jan-cerny