Hi Jan, if I'm not mistaken the problem lies inside the check system reference. You have to point to the oval-definitions-5 and not to oval-common-5.
<check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> <check-content-ref name="oval:com.test:def:1" href="test_oval.xml"/> </check> Furthermore the <select> tags are pointing to non existing references. I would delete them and add a <select> statement to your RULE-001001. Have fun, Alex~ On Thu, Apr 26, 2018 at 01:00:22PM +0200, Jan De Luyck wrote: > Hey list, > > I'm probably looking at this from the wrong way, but I thought that if one > would include oval statements in the XCCDF rules, you'd be able to use "oscap > xccdf eval" - but that just returns a bunch of notchecked statements. > > Or am I doing something wrong? > > $ oscap xccdf eval test_xccdf.xml > Title Test 12345 > Rule xccdf_test_rule_RULE-001001 > Ident RULE-001001 > Result notchecked > > $ oscap oval eval test_oval.xml > Definition oval:com.test:def:1: true > Evaluation done. > _______________________________________________ > Open-scap-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/open-scap-list -- Alexander Bergmann <[email protected]>, Security Engineer, GPG:9FFA4886 SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg)
signature.asc
Description: Digital signature
_______________________________________________ Open-scap-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/open-scap-list
