File: oval-schema-fail.xml

package info (click to toggle)
openscap 1.0.9-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 129,588 kB
  • ctags: 26,325
  • sloc: xml: 611,156; ansic: 90,367; sh: 26,693; makefile: 2,463; python: 804; perl: 445; cpp: 123
file content (49 lines) | stat: -rw-r--r-- 4,088 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?xml version="1.0" encoding="UTF-8"?>
<oval_definitions xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:lin-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix             http://oval.mitre.org/language/download/schema/version5.4/ovaldefinition/complete/unix-definitions-schema.xsd            http://oval.mitre.org/XMLSchema/oval-definitions-5#independent             http://oval.mitre.org/language/download/schema/version5.4/ovaldefinition/complete/independent-definitions-schema.xsd            http://oval.mitre.org/XMLSchema/oval-definitions-5#linux             http://oval.mitre.org/language/download/schema/version5.4/ovaldefinition/complete/linux-definitions-schema.xsd            http://oval.mitre.org/XMLSchema/oval-definitions-5             http://oval.mitre.org/language/download/schema/version5.4/ovaldefinition/complete/oval-definitions-schema.xsd            http://oval.mitre.org/XMLSchema/oval-common-5             http://oval.mitre.org/language/download/schema/version5.4/ovaldefinition/complete/oval-common-schema.xsd            ">
  <generator>
    <oval:product_name>DISA FSO</oval:product_name>
    <oval:schema_version>5.3</oval:schema_version>
    <oval:timestamp>2011-07-12T12:00:00-04:00</oval:timestamp>
  </generator>
  <definitions>
    <definition bal="pica" class="inventory" id="oval:mil.disa.fso.rhel:def:498" version="1">
      <metadata>
        <title>Red Hat Enterprise Linux 5</title>
        <affected family="unix">
          <platform>Red Hat Enterprise Linux 5</platform>
        </affected>
        <reference ref_id="cpe:/o:redhat:enterprise_linux:5" source="CPE" />
        <description>The operating system installed on the system is Red Hat Enterprise Linux 5</description>
      </metadata>
      <criteria>
        <criterion comment="Installed operating system is part of the unix family" test_ref="oval:mil.disa.fso.rhel:tst:49800" />
        <criterion comment="Red Hat Enterprise Linux 5 is installed" test_ref="oval:mil.disa.fso.rhel:tst:49801" />
      </criteria>
    </definition>
  </definitions>
  <tests>
    <family_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" check_existence="at_least_one_exists" id="oval:mil.disa.fso.rhel:tst:49800" version="1" check="only one" comment="installed operating system is part of the Unix family">
      <object object_ref="oval:mil.disa.fso.rhel:obj:49800" />
      <state state_ref="oval:mil.disa.fso.rhel:ste:49800" />
    </family_test>
    <rpminfo_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" check_existence="at_least_one_exists" id="oval:mil.disa.fso.rhel:tst:49801" version="1" check="at least one" comment="redhat-release is version 5">
      <object object_ref="oval:mil.disa.fso.rhel:obj:49801" />
      <state state_ref="oval:mil.disa.fso.rhel:ste:49801" />
    </rpminfo_test>
  </tests>
  <objects>
    <rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:mil.disa.fso.rhel:obj:49801" version="1">
      <name datatype="string">redhat-release</name>
    </rpminfo_object>
    <family_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:mil.disa.fso.rhel:obj:49800" version="1" />
  </objects>
  <states>
    <family_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:mil.disa.fso.rhel:ste:49800" version="1">
      <family>unix</family>
    </family_state>
    <rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:mil.disa.fso.rhel:ste:49801" version="1">
      <version operation="pattern match">^5</version>
    </rpminfo_state>
  </states>
</oval_definitions>