[Open-scap] error in results file (after evaluation)?

Peter Vrabec pvrabec at redhat.com
Mon Jul 30 16:41:45 UTC 2012


Hi Jeff,

On Monday, July 30, 2012 10:54:32 AM Jeffrey Blank wrote:
> Please forgive the request for tech support, but it is not entirely
> clear to me what the problem is.
> 
> Again, I'm using the content from scap-security-guide (after git clone;
> cd RHEL6; make).  If I run:
> 
> oscap xccdf eval --profile common --results /tmp/results-test.xml
> output/rhel6-xccdf-scap-security-guide.xml
> 
> 
> I always seem to get:
> 
> 1 1871 In file '/tmp/results-test.xml' on line 13354: Element
> '{http://checklists.nist.gov/xccdf/1.1}TestResult': Missing child
> element(s). Expected is one of (
> {http://checklists.nist.gov/xccdf/1.1}rule-result,
> {http://checklists.nist.gov/xccdf/1.1}score ).
> XCCDF Results are NOT exported correctly.
> 
> Clearly it is expecting an element.  (This much is obvious.)  What is my
> XCCDF (or OVAL) file missing (that would satisfy it)?
> 
> Was this covered in one of the changes for 0.8.3?
> (Perhaps unset OSCAP_FULL_VALIDATION variable?)

yes this was cover by 0.8.3. Unfortunately there is one more issue with 
results validation therefore I recommend not using OSCAP_FULL_VALIDATION until 
we fix.

> 
> Also -- the changes for the 0.8.3 release look great!
> 
> Thanks,
> Jeff


Peter.

> 
> _______________________________________________
> Open-scap-list mailing list
> Open-scap-list at redhat.com
> https://www.redhat.com/mailman/listinfo/open-scap-list




More information about the Open-scap-list mailing list