Skip to content

Generated report is empty #253

Description

@jan-cerny

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions