<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">The truth tables appear to be correct
      with the checks as written. To illustrate, here is what appears in
      the results file when testcheck.py is run and the proper package
      IS installed (the result value gets passed to the top level and
      sets the result of the entire check to false):<br>
      <br>
              &lt;test
      test_id="oval:scap-security-guide.testing:tst:248" version="1"
      check_existence="any_exist" check="only one" result="true"&gt;<br>
                &lt;tested_item item_id="1037109" result="false"/&gt;<br>
                &lt;tested_item item_id="1037107" result="false"/&gt;<br>
                &lt;tested_item item_id="1037105" result="false"/&gt;<br>
                &lt;tested_item item_id="1037108" result="false"/&gt;<br>
                &lt;tested_item item_id="1037102" result="false"/&gt;<br>
                &lt;tested_item item_id="1037101" result="true"/&gt;<br>
                &lt;tested_item item_id="1037106" result="false"/&gt;<br>
                &lt;tested_item item_id="1037103" result="false"/&gt;<br>
                &lt;tested_item item_id="1037104" result="false"/&gt;<br>
              &lt;/test&gt;<br>
      <br>
      And here is the result of the same testcheck.py script when the
      proper version of the package is not installed (the result value
      gets passed to the top level and sets the result of the entire
      check to false):<br>
      <br>
              &lt;test
      test_id="oval:scap-security-guide.testing:tst:248" version="1"
      check_existence="any_exist" check="only one" result="false"&gt;<br>
                &lt;tested_item item_id="1037714" result="false"/&gt;<br>
                &lt;tested_item item_id="1037716" result="false"/&gt;<br>
                &lt;tested_item item_id="1037717" result="false"/&gt;<br>
                &lt;tested_item item_id="1037715" result="false"/&gt;<br>
                &lt;tested_item item_id="1037713" result="false"/&gt;<br>
                &lt;tested_item item_id="1037718" result="false"/&gt;<br>
                &lt;tested_item item_id="1037711" result="false"/&gt;<br>
                &lt;tested_item item_id="1037712" result="false"/&gt;<br>
              &lt;/test&gt;<br>
      <br>
      - Maura Dailey<br>
      <br>
      On 01/17/2014 02:25 PM, Steinke, Leland J Sr CTR DISA FSO (US)
      wrote:<br>
    </div>
    <blockquote
cite="mid:294970648F72F5468D5C8718139CA88005AECC28@umechphi.easf.csd.disa.mil"
      type="cite">
      <pre wrap="">The OVAL check for the Red Hat release and auxiliary key packages is passing when the packages are not installed.  The check_existence and check attributes on the associated rpminfo_test elements are set to "any_exist" and "only one", respectively.  Shouldn't the check_existence attribute be "at_least_one_exists" for these tests instead?


Thanks,
Leland
--
Leland Steinke, Security+
DISA FSO Technical Support Contractor
tapestry technologies, Inc
717-267-5797 (DSN 570)
<a class="moz-txt-link-abbreviated" href="mailto:leland.j.steinke.ctr@mail.mil">leland.j.steinke.ctr@mail.mil</a> (gov't)
<a class="moz-txt-link-abbreviated" href="mailto:lsteinke@tapestrytech.com">lsteinke@tapestrytech.com</a> (com'l)


</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
scap-security-guide mailing list
<a class="moz-txt-link-abbreviated" href="mailto:scap-security-guide@lists.fedorahosted.org">scap-security-guide@lists.fedorahosted.org</a>
<a class="moz-txt-link-freetext" href="https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide">https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>