<html><body><div style="font-family: tahoma,new york,times,serif; font-size: 12pt; color: #000000"><div>Hi List, <br></div><div><br></div><div>I'm adding a new check into the rht-ccp profile and getting some errors during oscap runtime. Are there best practices (documented or otherwise) for debug? Log files?<br></div><div><br></div><div>[root@rhel6client ~]# oscap xccdf eval --profile rht-ccp --cpe /root/projects/scap-security-guide/RHEL6/output/ssg-rhel6-cpe-dictionary.xml --results /root/rht-ccp-results.new.xml --report /root/rht-ccp-report.new.html /root/projects/scap-security-guide/RHEL6/output/ssg-rhel6-xccdf.xml<br>Title Check for Non-RH Signed Pacakages<br>Rule ccp_check_for_nonRH_packages<br>Ident (null)<br><span style="color: rgb(255, 0, 0);">Result unknown</span> <span style="color: rgb(255, 0, 0);"><---- ** This is my test, it fails to evaluate</span> <br>...<br></div><div>Other tests run ok<br></div><div>...<br></div><div><span style="color: rgb(255, 0, 0);">OpenSCAP Error: No definition with ID: oval:ssg:def:3121 in result model. [oval_agent.c:180]</span> <span style="color: rgb(255, 0, 0);"> <-- oscap ends with this error. </span><span style="color: #ff0000;" data-mce-style="color: #ff0000;">oval:ssg:def:3121 is my new check as can be observed in the oval and xccdf files below.</span><br style="color: #ff0000;" data-mce-style="color: #ff0000;">[root@rhel6client output]# pwd<br>/root/projects/scap-security-guide/RHEL6/output<br></div><div>[root@rhel6client output]# grep "oval:ssg:def:3121" *<br>ssg-ocilrefs-rhel6-xccdf.xml: <check-content-ref name="oval:ssg:def:3121" href="ssg-rhel6-oval.xml"/><br>ssg-rhel6-oval.xml: <definition class="compliance" id="oval:ssg:def:3121" version="1"><br>ssg-rhel6-xccdf.xml: <check-content-ref name="oval:ssg:def:3121" href="ssg-rhel6-oval.xml"/><br><br></div><div>Any help is appreciated. Thanks, <br></div><div>-Matt<br></div><div><br></div><div><span name="x"></span>Matthew Mariani<br>Cloud Solution Architect<br>M: +1-717-756-6834<br>mmariani@redhat.com<span name="x"></span><br></div><div><br></div></div></body></html>