<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 16, 2014 at 8:48 AM, Martin Preisler <span dir="ltr"><<a href="mailto:mpreisle@redhat.com" target="_blank">mpreisle@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">----- Original Message -----<br>
> From: "Grant Schoep" <<a href="mailto:matobinder@gmail.com">matobinder@gmail.com</a>><br>
> To: "SCAP Security Guide" <<a href="mailto:scap-security-guide@lists.fedorahosted.org">scap-security-guide@lists.fedorahosted.org</a>><br>
> Sent: Sunday, November 16, 2014 4:38:30 PM<br>
> Subject: Re: First time running openscap, getting notapplicable<br>
><br>
> I did try running one of the xccdf file that it looks like you deliver<br>
> builtin. Same issue, I don't see the STDERR warning about ./oval.xml being<br>
> skipped. But still get "notapplicable" Trying..<br>
><br>
> oscap xccdf eval --profile RHEL6-Default --results hey2.xml<br>
> ./share/openscap/scap-rhel6-xccdf.xml<br>
><br>
> This was on my RHEL6 machine (note I am being "careful" to be using oscap<br>
> from my 1.1.1 build, and not the one that comes in RPM from Redhat<br>
> themselves.<br>
><br>
> my guess is that oscap is thinking I am running something else. Not<br>
> matching cpe:/o:redhat:enterprise_linux:6 (or 5)<br>
><br>
> Without mucking with the code(which I can) just wondering if there is a way<br>
> to print out what oscap thinks is the machine. Or, if you can point me to a<br>
> good place to put a printf, I could rebuild it.<br>
<br>
Try `oscap oval eval --results /tmp/x.xml /usr/share/openscap/cpe/openscap-cpe-oval.xml`.<br>
And paste the x.xml file somewhere. It seems to me that you are getting<br>
false for all of the OVAL definitions.<br>
<span class=""><font color="#888888"><br></font></span></blockquote><div>Here goes, when running that command, I get the following to stdout</div><div><br></div><div><div><br></div><div>Definition oval:org.open-scap.cpe.rhel:def:7: unknown</div><div>Definition oval:org.open-scap.cpe.rhel:def:6: unknown</div><div>Definition oval:org.open-scap.cpe.rhel:def:5: unknown</div><div>Definition oval:org.open-scap.cpe.rhel:def:1007: unknown</div><div>Definition oval:org.open-scap.cpe.rhel:def:1006: unknown</div><div>Definition oval:org.open-scap.cpe.rhel:def:1005: unknown</div><div>Definition oval:org.open-scap.cpe.rhel:def:1: unknown</div><div>Definition oval:org.open-scap.cpe.fedora:def:22: unknown</div><div>Definition oval:org.open-scap.cpe.fedora:def:21: unknown</div><div>Definition oval:org.open-scap.cpe.fedora:def:20: unknown</div><div>Definition oval:org.open-scap.cpe.fedora:def:19: unknown</div><div>Definition oval:org.open-scap.cpe.fedora:def:18: unknown</div><div>Definition oval:org.open-scap.cpe.fedora:def:17: unknown</div><div>Definition oval:org.open-scap.cpe.fedora:def:16: unknown</div></div><div><br></div><div>And the contents of the results file.:</div><div><br></div><div><div><?xml version="1.0" encoding="UTF-8"?></div><div><oval_results xmlns:oval="<a href="http://oval.mitre.org/XMLSchema/oval-common-5">http://oval.mitre.org/XMLSchema/oval-common-5</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" xmlns="<a href="http://oval.mitre.org/XMLSchema/oval-results-5">http://oval.mitre.org/XMLSchema/oval-results-5</a>" xsi:schemaLocation="<a href="http://oval.mitre.org/XMLSchema/oval-results-5">http://oval.mitre.org/XMLSchema/oval-results-5</a> oval-results-schema.xsd <a href="http://oval.mitre.org/XMLSchema/oval-common-5">http://oval.mitre.org/XMLSchema/oval-common-5</a> oval-common-schema.xsd"></div><div> <generator></div><div> <oval:product_name>cpe:/a:open-scap:oscap</oval:product_name></div><div> <oval:schema_version>5.10.1</oval:schema_version></div><div> <oval:timestamp>2014-11-16T17:38:20</oval:timestamp></div><div> </generator></div><div> <directives></div><div> <definition_true reported="true" content="full"/></div><div> <definition_false reported="true" content="full"/></div><div> <definition_unknown reported="true" content="full"/></div><div> <definition_error reported="true" content="full"/></div><div> <definition_not_evaluated reported="true" content="full"/></div><div> <definition_not_applicable reported="true" content="full"/></div><div> </directives></div><div> <oval_definitions xmlns:oval="<a href="http://oval.mitre.org/XMLSchema/oval-common-5">http://oval.mitre.org/XMLSchema/oval-common-5</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" xmlns:unix-def="<a href="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">http://oval.mitre.org/XMLSchema/oval-definitions-5#unix</a>" xmlns:ind-def="<a href="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">http://oval.mitre.org/XMLSchema/oval-definitions-5#independent</a>" xmlns:lin-def="<a href="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">http://oval.mitre.org/XMLSchema/oval-definitions-5#linux</a>" xmlns="<a href="http://oval.mitre.org/XMLSchema/oval-definitions-5">http://oval.mitre.org/XMLSchema/oval-definitions-5</a>" xsi:schemaLocation="<a href="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">http://oval.mitre.org/XMLSchema/oval-definitions-5#unix</a> unix-definitions-schema.xsd <a href="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">http://oval.mitre.org/XMLSchema/oval-definitions-5#independent</a> independent-definitions-schema.xsd <a href="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">http://oval.mitre.org/XMLSchema/oval-definitions-5#linux</a> linux-definitions-schema.xsd <a href="http://oval.mitre.org/XMLSchema/oval-definitions-5">http://oval.mitre.org/XMLSchema/oval-definitions-5</a> oval-definitions-schema.xsd <a href="http://oval.mitre.org/XMLSchema/oval-common-5">http://oval.mitre.org/XMLSchema/oval-common-5</a> oval-common-schema.xsd"></div><div> <generator></div><div> <oval:product_name>vim</oval:product_name></div><div> <oval:schema_version>5.10.1</oval:schema_version></div><div> <oval:timestamp>2012-11-22T15:00:00+01:00</oval:timestamp></div><div> </generator></div><div> <definitions></div><div> <definition id="oval:org.open-scap.cpe.rhel:def:7" version="1" class="inventory"></div><div> <metadata></div><div> <title>Red Hat Enterprise Linux 7</title></div><div> <affected family="unix"></div><div> <platform>Red Hat Enterprise Linux 7</platform></div><div> </affected></div><div> <reference source="CPE" ref_id="cpe:/o:redhat:enterprise_linux:7"/></div><div> <description>The operating system installed on the system is Red Hat Enterprise Linux 7</description></div><div> </metadata></div><div> <criteria></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" comment="Installed operating system is part of the unix family"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:7" comment="Red Hat Enterprise Linux 7 is installed"/></div><div> </criteria></div><div> </definition></div><div> <definition id="oval:org.open-scap.cpe.rhel:def:6" version="1" class="inventory"></div><div> <metadata></div><div> <title>Red Hat Enterprise Linux 6</title></div><div> <affected family="unix"></div><div> <platform>Red Hat Enterprise Linux 6</platform></div><div> </affected></div><div> <reference source="CPE" ref_id="cpe:/o:redhat:enterprise_linux:6"/></div><div> <description>The operating system installed on the system is Red Hat Enterprise Linux 6</description></div><div> </metadata></div><div> <criteria></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" comment="Installed operating system is part of the unix family"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:6" comment="Red Hat Enterprise Linux 6 is installed"/></div><div> </criteria></div><div> </definition></div><div> <definition id="oval:org.open-scap.cpe.rhel:def:5" version="1" class="inventory"></div><div> <metadata></div><div> <title>Red Hat Enterprise Linux 5</title></div><div> <affected family="unix"></div><div> <platform>Red Hat Enterprise Linux 5</platform></div><div> </affected></div><div> <reference source="CPE" ref_id="cpe:/o:redhat:enterprise_linux:5"/></div><div> <description>The operating system installed on the system is Red Hat Enterprise Linux 5</description></div><div> </metadata></div><div> <criteria></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" comment="Installed operating system is part of the unix family"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:5" comment="Red Hat Enterprise Linux 5 is installed"/></div><div> </criteria></div><div> </definition></div><div> <definition id="oval:org.open-scap.cpe.rhel:def:1007" version="1" class="inventory"></div><div> <metadata></div><div> <title>Community Enterprise Operating System 7</title></div><div> <affected family="unix"></div><div> <platform>Community Enterprise Operating System 7</platform></div><div> </affected></div><div> <reference source="CPE" ref_id="cpe:/o:centos:centos:7"/></div><div> <description>The operating system installed on the system is Community Enterprise Operating System 7</description></div><div> </metadata></div><div> <criteria></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" comment="Installed operating system is part of the unix family"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1007" comment="Community Enterprise Operating System 7 is installed"/></div><div> </criteria></div><div> </definition></div><div> <definition id="oval:org.open-scap.cpe.rhel:def:1006" version="1" class="inventory"></div><div> <metadata></div><div> <title>Community Enterprise Operating System 6</title></div><div> <affected family="unix"></div><div> <platform>Community Enterprise Operating System 6</platform></div><div> </affected></div><div> <reference source="CPE" ref_id="cpe:/o:centos:centos:6"/></div><div> <description>The operating system installed on the system is Community Enterprise Operating System 6</description></div><div> </metadata></div><div> <criteria></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" comment="Installed operating system is part of the unix family"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1006" comment="Community Enterprise Operating System 6 is installed"/></div><div> </criteria></div><div> </definition></div><div> <definition id="oval:org.open-scap.cpe.rhel:def:1005" version="1" class="inventory"></div><div> <metadata></div><div> <title>Community Enterprise Operating System 5</title></div><div> <affected family="unix"></div><div> <platform>Community Enterprise Operating System 5</platform></div><div> </affected></div><div> <reference source="CPE" ref_id="cpe:/o:centos:centos:5"/></div><div> <description>The operating system installed on the system is Community Enterprise Operating System 5</description></div><div> </metadata></div><div> <criteria></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" comment="Installed operating system is part of the unix family"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1005" comment="Community Enterprise Operating System 5 is installed"/></div><div> </criteria></div><div> </definition></div><div> <definition id="oval:org.open-scap.cpe.rhel:def:1" version="1" class="inventory"></div><div> <metadata></div><div> <title>Red Hat Enterprise Linux</title></div><div> <affected family="unix"></div><div> <platform>Red Hat Enterprise Linux</platform></div><div> </affected></div><div> <reference source="CPE" ref_id="cpe:/o:redhat:enterprise_linux"/></div><div> <description>The operating system installed on the system is Red Hat Enterprise Linux</description></div><div> </metadata></div><div> <criteria></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" comment="Installed operating system is part of the unix family"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:2" comment="Red Hat Enterprise Linux is installed"/></div><div> </criteria></div><div> </definition></div><div> <definition id="oval:org.open-scap.cpe.fedora:def:22" version="1" class="inventory"></div><div> <metadata></div><div> <title>Fedora 22</title></div><div> <affected family="unix"></div><div> <platform>Fedora 22</platform></div><div> </affected></div><div> <reference source="CPE" ref_id="cpe:/o:fedoraproject:fedora:22"/></div><div> <description>The operating system installed on the system is Fedora 22</description></div><div> </metadata></div><div> <criteria></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" comment="Installed operating system is part of the unix family"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.fedora:tst:22" comment="Fedora 22 is installed"/></div><div> </criteria></div><div> </definition></div><div> <definition id="oval:org.open-scap.cpe.fedora:def:21" version="1" class="inventory"></div><div> <metadata></div><div> <title>Fedora 21</title></div><div> <affected family="unix"></div><div> <platform>Fedora 21</platform></div><div> </affected></div><div> <reference source="CPE" ref_id="cpe:/o:fedoraproject:fedora:21"/></div><div> <description>The operating system installed on the system is Fedora 21</description></div><div> </metadata></div><div> <criteria></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" comment="Installed operating system is part of the unix family"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.fedora:tst:21" comment="Fedora 21 is installed"/></div><div> </criteria></div><div> </definition></div><div> <definition id="oval:org.open-scap.cpe.fedora:def:20" version="1" class="inventory"></div><div> <metadata></div><div> <title>Fedora 20</title></div><div> <affected family="unix"></div><div> <platform>Fedora 20</platform></div><div> </affected></div><div> <reference source="CPE" ref_id="cpe:/o:fedoraproject:fedora:20"/></div><div> <description>The operating system installed on the system is Fedora 20</description></div><div> </metadata></div><div> <criteria></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" comment="Installed operating system is part of the unix family"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.fedora:tst:20" comment="Fedora 20 is installed"/></div><div> </criteria></div><div> </definition></div><div> <definition id="oval:org.open-scap.cpe.fedora:def:19" version="1" class="inventory"></div><div> <metadata></div><div> <title>Fedora 19</title></div><div> <affected family="unix"></div><div> <platform>Fedora 19</platform></div><div> </affected></div><div> <reference source="CPE" ref_id="cpe:/o:fedoraproject:fedora:19"/></div><div> <description>The operating system installed on the system is Fedora 19</description></div><div> </metadata></div><div> <criteria></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" comment="Installed operating system is part of the unix family"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.fedora:tst:19" comment="Fedora 19 is installed"/></div><div> </criteria></div><div> </definition></div><div> <definition id="oval:org.open-scap.cpe.fedora:def:18" version="1" class="inventory"></div><div> <metadata></div><div> <title>Fedora 18</title></div><div> <affected family="unix"></div><div> <platform>Fedora 18</platform></div><div> </affected></div><div> <reference source="CPE" ref_id="cpe:/o:fedoraproject:fedora:18"/></div><div> <description>The operating system installed on the system is Fedora 18</description></div><div> </metadata></div><div> <criteria></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" comment="Installed operating system is part of the unix family"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.fedora:tst:18" comment="Fedora 18 is installed"/></div><div> </criteria></div><div> </definition></div><div> <definition id="oval:org.open-scap.cpe.fedora:def:17" version="1" class="inventory"></div><div> <metadata></div><div> <title>Fedora 17</title></div><div> <affected family="unix"></div><div> <platform>Fedora 17</platform></div><div> </affected></div><div> <reference source="CPE" ref_id="cpe:/o:fedoraproject:fedora:17"/></div><div> <description>The operating system installed on the system is Fedora 17</description></div><div> </metadata></div><div> <criteria></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" comment="Installed operating system is part of the unix family"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.fedora:tst:17" comment="Fedora 17 is installed"/></div><div> </criteria></div><div> </definition></div><div> <definition id="oval:org.open-scap.cpe.fedora:def:16" version="1" class="inventory"></div><div> <metadata></div><div> <title>Fedora 16</title></div><div> <affected family="unix"></div><div> <platform>Fedora 16</platform></div><div> </affected></div><div> <reference source="CPE" ref_id="cpe:/o:fedoraproject:fedora:16"/></div><div> <description>The operating system installed on the system is Fedora 16</description></div><div> </metadata></div><div> <criteria></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" comment="Installed operating system is part of the unix family"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.fedora:tst:16" comment="Fedora 16 is installed"/></div><div> </criteria></div><div> </definition></div><div> </definitions></div><div> <tests></div><div> <lin-def:rpminfo_test id="oval:org.open-scap.cpe.rhel:tst:7" version="1" check="at least one" comment="redhat-release is version 7"></div><div> <lin-def:object object_ref="oval:org.open-scap.cpe.redhat-release:obj:3"/></div><div> <lin-def:state state_ref="oval:org.open-scap.cpe.rhel:ste:7"/></div><div> </lin-def:rpminfo_test></div><div> <lin-def:rpminfo_test id="oval:org.open-scap.cpe.rhel:tst:6" version="1" check="at least one" comment="redhat-release is version 6"></div><div> <lin-def:object object_ref="oval:org.open-scap.cpe.redhat-release:obj:3"/></div><div> <lin-def:state state_ref="oval:org.open-scap.cpe.rhel:ste:6"/></div><div> </lin-def:rpminfo_test></div><div> <lin-def:rpminfo_test id="oval:org.open-scap.cpe.rhel:tst:5" version="1" check="at least one" comment="redhat-release is version 5"></div><div> <lin-def:object object_ref="oval:org.open-scap.cpe.redhat-release:obj:1"/></div><div> <lin-def:state state_ref="oval:org.open-scap.cpe.rhel:ste:5"/></div><div> </lin-def:rpminfo_test></div><div> <lin-def:rpminfo_test id="oval:org.open-scap.cpe.rhel:tst:2" version="1" check="at least one" comment="/etc/redhat-release is provided by redhat-release package"></div><div> <lin-def:object object_ref="oval:org.open-scap.cpe.redhat-release:obj:3"/></div><div> <lin-def:state state_ref="oval:org.open-scap.cpe.rhel:ste:2"/></div><div> </lin-def:rpminfo_test></div><div> <lin-def:rpminfo_test id="oval:org.open-scap.cpe.rhel:tst:1007" version="1" check="at least one" comment="centos-release is version 7"></div><div> <lin-def:object object_ref="oval:org.open-scap.cpe.redhat-release:obj:3"/></div><div> <lin-def:state state_ref="oval:org.open-scap.cpe.rhel:ste:1007"/></div><div> </lin-def:rpminfo_test></div><div> <lin-def:rpminfo_test id="oval:org.open-scap.cpe.rhel:tst:1006" version="1" check="at least one" comment="centos-release is version 6"></div><div> <lin-def:object object_ref="oval:org.open-scap.cpe.redhat-release:obj:3"/></div><div> <lin-def:state state_ref="oval:org.open-scap.cpe.rhel:ste:1006"/></div><div> </lin-def:rpminfo_test></div><div> <lin-def:rpminfo_test id="oval:org.open-scap.cpe.rhel:tst:1005" version="1" check="at least one" comment="centos-release is version 5"></div><div> <lin-def:object object_ref="oval:org.open-scap.cpe.redhat-release:obj:3"/></div><div> <lin-def:state state_ref="oval:org.open-scap.cpe.rhel:ste:1005"/></div><div> </lin-def:rpminfo_test></div><div> <ind-def:family_test id="oval:org.open-scap.cpe.rhel:tst:1" version="1" check="only one" comment="installed operating system is part of the Unix family"></div><div> <ind-def:object object_ref="oval:org.open-scap.cpe.unix:obj:1"/></div><div> <ind-def:state state_ref="oval:org.open-scap.cpe.unix:ste:1"/></div><div> </ind-def:family_test></div><div> <lin-def:rpminfo_test id="oval:org.open-scap.cpe.fedora:tst:22" version="1" check="at least one" comment="fedora-release is version Fedora 22"></div><div> <lin-def:object object_ref="oval:org.open-scap.cpe.fedora-release:obj:2"/></div><div> <lin-def:state state_ref="oval:org.open-scap.cpe.fedora:ste:22"/></div><div> </lin-def:rpminfo_test></div><div> <lin-def:rpminfo_test id="oval:org.open-scap.cpe.fedora:tst:21" version="1" check="at least one" comment="fedora-release is version Fedora 21"></div><div> <lin-def:object object_ref="oval:org.open-scap.cpe.fedora-release:obj:2"/></div><div> <lin-def:state state_ref="oval:org.open-scap.cpe.fedora:ste:21"/></div><div> </lin-def:rpminfo_test></div><div> <lin-def:rpminfo_test id="oval:org.open-scap.cpe.fedora:tst:20" version="1" check="at least one" comment="fedora-release is version Fedora 20"></div><div> <lin-def:object object_ref="oval:org.open-scap.cpe.fedora-release:obj:2"/></div><div> <lin-def:state state_ref="oval:org.open-scap.cpe.fedora:ste:20"/></div><div> </lin-def:rpminfo_test></div><div> <lin-def:rpminfo_test id="oval:org.open-scap.cpe.fedora:tst:19" version="1" check="at least one" comment="fedora-release is version Fedora 19"></div><div> <lin-def:object object_ref="oval:org.open-scap.cpe.fedora-release:obj:2"/></div><div> <lin-def:state state_ref="oval:org.open-scap.cpe.fedora:ste:19"/></div><div> </lin-def:rpminfo_test></div><div> <lin-def:rpminfo_test id="oval:org.open-scap.cpe.fedora:tst:18" version="1" check="at least one" comment="fedora-release is version Fedora 18"></div><div> <lin-def:object object_ref="oval:org.open-scap.cpe.fedora-release:obj:2"/></div><div> <lin-def:state state_ref="oval:org.open-scap.cpe.fedora:ste:18"/></div><div> </lin-def:rpminfo_test></div><div> <lin-def:rpminfo_test id="oval:org.open-scap.cpe.fedora:tst:17" version="1" check="at least one" comment="fedora-release is version Fedora 17"></div><div> <lin-def:object object_ref="oval:org.open-scap.cpe.fedora-release:obj:2"/></div><div> <lin-def:state state_ref="oval:org.open-scap.cpe.fedora:ste:17"/></div><div> </lin-def:rpminfo_test></div><div> <lin-def:rpminfo_test id="oval:org.open-scap.cpe.fedora:tst:16" version="1" check="at least one" comment="fedora-release is version Fedora 16"></div><div> <lin-def:object object_ref="oval:org.open-scap.cpe.fedora-release:obj:2"/></div><div> <lin-def:state state_ref="oval:org.open-scap.cpe.fedora:ste:16"/></div><div> </lin-def:rpminfo_test></div><div> </tests></div><div> <objects></div><div> <ind-def:family_object id="oval:org.open-scap.cpe.unix:obj:1" version="1"/></div><div> <lin-def:rpmverifyfile_object id="oval:org.open-scap.cpe.redhat-release:obj:3" version="1"></div><div> <lin-def:behaviors nolinkto="true" nomd5="true" nosize="true" nouser="true" nogroup="true" nomtime="true" nomode="true" nordev="true" noconfigfiles="true" noghostfiles="true"/></div><div> <lin-def:name operation="pattern match"></lin-def:name></div><div> <lin-def:epoch operation="pattern match"></lin-def:epoch></div><div> <lin-def:version operation="pattern match"></lin-def:version></div><div> <lin-def:release operation="pattern match"></lin-def:release></div><div> <lin-def:arch operation="pattern match"></lin-def:arch></div><div> <lin-def:filepath>/etc/redhat-release</lin-def:filepath></div><div> </lin-def:rpmverifyfile_object></div><div> <lin-def:rpminfo_object id="oval:org.open-scap.cpe.redhat-release:obj:1" version="1"></div><div> <lin-def:name>redhat-release</lin-def:name></div><div> </lin-def:rpminfo_object></div><div> <lin-def:rpminfo_object id="oval:org.open-scap.cpe.fedora-release:obj:2" version="1"></div><div> <lin-def:name>fedora-release</lin-def:name></div><div> </lin-def:rpminfo_object></div><div> </objects></div><div> <states></div><div> <ind-def:family_state id="oval:org.open-scap.cpe.unix:ste:1" version="1"></div><div> <ind-def:family>unix</ind-def:family></div><div> </ind-def:family_state></div><div> <lin-def:rpminfo_state id="oval:org.open-scap.cpe.rhel:ste:7" version="1"></div><div> <lin-def:name operation="pattern match">^redhat-release</lin-def:name></div><div> <lin-def:version operation="pattern match">^7[^\d]</lin-def:version></div><div> </lin-def:rpminfo_state></div><div> <lin-def:rpminfo_state id="oval:org.open-scap.cpe.rhel:ste:6" version="1"></div><div> <lin-def:name operation="pattern match">^redhat-release</lin-def:name></div><div> <lin-def:version operation="pattern match">^6[^\d]</lin-def:version></div><div> </lin-def:rpminfo_state></div><div> <lin-def:rpminfo_state id="oval:org.open-scap.cpe.rhel:ste:5" version="1"></div><div> <lin-def:version operation="pattern match">^5[^\d]</lin-def:version></div><div> </lin-def:rpminfo_state></div><div> <lin-def:rpminfo_state id="oval:org.open-scap.cpe.rhel:ste:2" version="1"></div><div> <lin-def:name operation="pattern match">^redhat-release</lin-def:name></div><div> </lin-def:rpminfo_state></div><div> <lin-def:rpminfo_state id="oval:org.open-scap.cpe.rhel:ste:1007" version="1"></div><div> <lin-def:name operation="pattern match">^centos-release</lin-def:name></div><div> <lin-def:version operation="pattern match">^7</lin-def:version></div><div> </lin-def:rpminfo_state></div><div> <lin-def:rpminfo_state id="oval:org.open-scap.cpe.rhel:ste:1006" version="1"></div><div> <lin-def:name operation="pattern match">^centos-release</lin-def:name></div><div> <lin-def:version operation="pattern match">^6</lin-def:version></div><div> </lin-def:rpminfo_state></div><div> <lin-def:rpminfo_state id="oval:org.open-scap.cpe.rhel:ste:1005" version="1"></div><div> <lin-def:name operation="pattern match">^centos-release</lin-def:name></div><div> <lin-def:version operation="pattern match">^5</lin-def:version></div><div> </lin-def:rpminfo_state></div><div> <lin-def:rpminfo_state id="oval:org.open-scap.cpe.fedora:ste:22" version="1"></div><div> <lin-def:version operation="pattern match">^22$</lin-def:version></div><div> </lin-def:rpminfo_state></div><div> <lin-def:rpminfo_state id="oval:org.open-scap.cpe.fedora:ste:21" version="1"></div><div> <lin-def:version operation="pattern match">^21$</lin-def:version></div><div> </lin-def:rpminfo_state></div><div> <lin-def:rpminfo_state id="oval:org.open-scap.cpe.fedora:ste:20" version="1"></div><div> <lin-def:version operation="pattern match">^20$</lin-def:version></div><div> </lin-def:rpminfo_state></div><div> <lin-def:rpminfo_state id="oval:org.open-scap.cpe.fedora:ste:19" version="1"></div><div> <lin-def:version operation="pattern match">^19$</lin-def:version></div><div> </lin-def:rpminfo_state></div><div> <lin-def:rpminfo_state id="oval:org.open-scap.cpe.fedora:ste:18" version="1"></div><div> <lin-def:version operation="pattern match">^18$</lin-def:version></div><div> </lin-def:rpminfo_state></div><div> <lin-def:rpminfo_state id="oval:org.open-scap.cpe.fedora:ste:17" version="1"></div><div> <lin-def:version operation="pattern match">^17$</lin-def:version></div><div> </lin-def:rpminfo_state></div><div> <lin-def:rpminfo_state id="oval:org.open-scap.cpe.fedora:ste:16" version="1"></div><div> <lin-def:version operation="pattern match">^16$</lin-def:version></div><div> </lin-def:rpminfo_state></div><div> </states></div><div> </oval_definitions></div><div> <results></div><div> <system></div><div> <definitions></div><div> <definition definition_id="oval:org.open-scap.cpe.rhel:def:7" result="unknown" version="1"></div><div> <criteria operator="AND" result="unknown"></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" version="1" result="true"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:7" version="1" result="unknown"/></div><div> </criteria></div><div> </definition></div><div> <definition definition_id="oval:org.open-scap.cpe.rhel:def:6" result="unknown" version="1"></div><div> <criteria operator="AND" result="unknown"></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" version="1" result="true"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:6" version="1" result="unknown"/></div><div> </criteria></div><div> </definition></div><div> <definition definition_id="oval:org.open-scap.cpe.rhel:def:5" result="unknown" version="1"></div><div> <criteria operator="AND" result="unknown"></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" version="1" result="true"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:5" version="1" result="unknown"/></div><div> </criteria></div><div> </definition></div><div> <definition definition_id="oval:org.open-scap.cpe.rhel:def:1007" result="unknown" version="1"></div><div> <criteria operator="AND" result="unknown"></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" version="1" result="true"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1007" version="1" result="unknown"/></div><div> </criteria></div><div> </definition></div><div> <definition definition_id="oval:org.open-scap.cpe.rhel:def:1006" result="unknown" version="1"></div><div> <criteria operator="AND" result="unknown"></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" version="1" result="true"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1006" version="1" result="unknown"/></div><div> </criteria></div><div> </definition></div><div> <definition definition_id="oval:org.open-scap.cpe.rhel:def:1005" result="unknown" version="1"></div><div> <criteria operator="AND" result="unknown"></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" version="1" result="true"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1005" version="1" result="unknown"/></div><div> </criteria></div><div> </definition></div><div> <definition definition_id="oval:org.open-scap.cpe.rhel:def:1" result="unknown" version="1"></div><div> <criteria operator="AND" result="unknown"></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" version="1" result="true"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:2" version="1" result="unknown"/></div><div> </criteria></div><div> </definition></div><div> <definition definition_id="oval:org.open-scap.cpe.fedora:def:22" result="unknown" version="1"></div><div> <criteria operator="AND" result="unknown"></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" version="1" result="true"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.fedora:tst:22" version="1" result="unknown"/></div><div> </criteria></div><div> </definition></div><div> <definition definition_id="oval:org.open-scap.cpe.fedora:def:21" result="unknown" version="1"></div><div> <criteria operator="AND" result="unknown"></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" version="1" result="true"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.fedora:tst:21" version="1" result="unknown"/></div><div> </criteria></div><div> </definition></div><div> <definition definition_id="oval:org.open-scap.cpe.fedora:def:20" result="unknown" version="1"></div><div> <criteria operator="AND" result="unknown"></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" version="1" result="true"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.fedora:tst:20" version="1" result="unknown"/></div><div> </criteria></div><div> </definition></div><div> <definition definition_id="oval:org.open-scap.cpe.fedora:def:19" result="unknown" version="1"></div><div> <criteria operator="AND" result="unknown"></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" version="1" result="true"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.fedora:tst:19" version="1" result="unknown"/></div><div> </criteria></div><div> </definition></div><div> <definition definition_id="oval:org.open-scap.cpe.fedora:def:18" result="unknown" version="1"></div><div> <criteria operator="AND" result="unknown"></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" version="1" result="true"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.fedora:tst:18" version="1" result="unknown"/></div><div> </criteria></div><div> </definition></div><div> <definition definition_id="oval:org.open-scap.cpe.fedora:def:17" result="unknown" version="1"></div><div> <criteria operator="AND" result="unknown"></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" version="1" result="true"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.fedora:tst:17" version="1" result="unknown"/></div><div> </criteria></div><div> </definition></div><div> <definition definition_id="oval:org.open-scap.cpe.fedora:def:16" result="unknown" version="1"></div><div> <criteria operator="AND" result="unknown"></div><div> <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" version="1" result="true"/></div><div> <criterion test_ref="oval:org.open-scap.cpe.fedora:tst:16" version="1" result="unknown"/></div><div> </criteria></div><div> </definition></div><div> </definitions></div><div> <tests></div><div> <test test_id="oval:org.open-scap.cpe.fedora:tst:16" version="1" check="at least one" result="unknown"/></div><div> <test test_id="oval:org.open-scap.cpe.fedora:tst:17" version="1" check="at least one" result="unknown"/></div><div> <test test_id="oval:org.open-scap.cpe.fedora:tst:18" version="1" check="at least one" result="unknown"/></div><div> <test test_id="oval:org.open-scap.cpe.fedora:tst:19" version="1" check="at least one" result="unknown"/></div><div> <test test_id="oval:org.open-scap.cpe.fedora:tst:20" version="1" check="at least one" result="unknown"/></div><div> <test test_id="oval:org.open-scap.cpe.fedora:tst:21" version="1" check="at least one" result="unknown"/></div><div> <test test_id="oval:org.open-scap.cpe.fedora:tst:22" version="1" check="at least one" result="unknown"/></div><div> <test test_id="oval:org.open-scap.cpe.rhel:tst:1" version="1" check="only one" result="true"></div><div> <tested_item item_id="1284881" result="true"/></div><div> </test></div><div> <test test_id="oval:org.open-scap.cpe.rhel:tst:1005" version="1" check="at least one" result="unknown"/></div><div> <test test_id="oval:org.open-scap.cpe.rhel:tst:1006" version="1" check="at least one" result="unknown"/></div><div> <test test_id="oval:org.open-scap.cpe.rhel:tst:1007" version="1" check="at least one" result="unknown"/></div><div> <test test_id="oval:org.open-scap.cpe.rhel:tst:2" version="1" check="at least one" result="unknown"/></div><div> <test test_id="oval:org.open-scap.cpe.rhel:tst:5" version="1" check="at least one" result="unknown"/></div><div> <test test_id="oval:org.open-scap.cpe.rhel:tst:6" version="1" check="at least one" result="unknown"/></div><div> <test test_id="oval:org.open-scap.cpe.rhel:tst:7" version="1" check="at least one" result="unknown"/></div><div> </tests></div><div> <oval_system_characteristics xmlns:oval="<a href="http://oval.mitre.org/XMLSchema/oval-common-5">http://oval.mitre.org/XMLSchema/oval-common-5</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" xmlns:unix-sys="<a href="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#unix">http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#unix</a>" xmlns:ind-sys="<a href="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#independent">http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#independent</a>" xmlns:lin-sys="<a href="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#linux">http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#linux</a>" xmlns="<a href="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5">http://oval.mitre.org/XMLSchema/oval-system-characteristics-5</a>" xsi:schemaLocation="<a href="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5">http://oval.mitre.org/XMLSchema/oval-system-characteristics-5</a> oval-system-characteristics-schema.xsd <a href="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#independent">http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#independent</a> independent-system-characteristics-schema.xsd <a href="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#unix">http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#unix</a> unix-system-characteristics-schema.xsd <a href="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#linux">http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#linux</a> linux-system-characteristics-schema.xsd <a href="http://oval.mitre.org/XMLSchema/oval-common-5">http://oval.mitre.org/XMLSchema/oval-common-5</a> oval-common-schema.xsd"></div><div> <generator></div><div> <oval:product_name>cpe:/a:open-scap:oscap</oval:product_name></div><div> <oval:schema_version>5.10.1</oval:schema_version></div><div> <oval:timestamp>2014-11-16T17:38:20</oval:timestamp></div><div> </generator></div><div> <system_info></div><div> <os_name>Linux</os_name></div><div> <os_version>#1 SMP Tue Aug 12 06:26:17 EDT 2014</os_version></div><div> <architecture>x86_64</architecture></div><div> <primary_host_name>beaver</primary_host_name></div><div> <interfaces></div><div> <interface></div><div> <interface_name>lo</interface_name></div><div> <ip_address>127.0.0.1</ip_address></div><div> <mac_address>00:00:00:00:00:00</mac_address></div><div> </interface></div><div> <interface></div><div> <interface_name>eth0</interface_name></div><div> <ip_address>10.1.24.31</ip_address></div><div> <mac_address>18:03:73:2D:F5:21</mac_address></div><div> </interface></div><div> </interfaces></div><div> </system_info></div><div> <collected_objects></div><div> <object id="oval:org.open-scap.cpe.fedora-release:obj:2" version="1" flag="not collected"></div><div> <message level="warning">OVAL object not supported</message></div><div> </object></div><div> <object id="oval:org.open-scap.cpe.redhat-release:obj:1" version="1" flag="not collected"></div><div> <message level="warning">OVAL object not supported</message></div><div> </object></div><div> <object id="oval:org.open-scap.cpe.redhat-release:obj:3" version="1" flag="not collected"></div><div> <message level="warning">OVAL object not supported</message></div><div> </object></div><div> <object id="oval:org.open-scap.cpe.unix:obj:1" version="1" flag="complete"></div><div> <reference item_ref="1284881"/></div><div> </object></div><div> </collected_objects></div><div> <system_data></div><div> <ind-sys:family_item id="1284881" status="exists"></div><div> <ind-sys:family>unix</ind-sys:family></div><div> </ind-sys:family_item></div><div> </system_data></div><div> </oval_system_characteristics></div><div> </system></div><div> </results></div><div></oval_results></div></div><div><br></div><div><br></div><div><br></div><div> <br></div></div></div></div>