Skip to content

govready rule command appears broken when using default SSG xccdf #72

@gregelin

Description

@gregelin

Added STIG SCAP and and tried to test individual rules only to find testing individual rule broken with the XCCDF.

It appears I need to add GovReadyfile variable for the correct *-oval.xml file and update _govoscap_rules_scan_info method to handle the variable.

OpenSCAP Error: Unable to open file: 'scans/variables.xml' [oscapxml.c:573]
Unable to open file: 'scans/variables.xml' [oval_parser.c:80]
No such file or directory 'scans/variables.xml' [oscapxml.c:312]
[GovReady] ...
[root@checklist fisma]# oscap oval eval --id oval:mil.disa.fso.redhat.rhel6:def:125 /usr/share/xml/scap/ssg/content/ssg-rhel6-oval.xml
Definition oval:mil.disa.fso.redhat.rhel6:def:125: not evaluated
OpenSCAP Error: No definition with ID: oval:mil.disa.fso.redhat.rhel6:def:125 in definition model. [oval_probe.c:338]
No definition with ID: oval:mil.disa.fso.redhat.rhel6:def:125 in result model. [oval_agent.c:184]
[root@checklist fisma]# 

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions