File: oval_check_enumeration_entity.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 (114 lines) | stat: -rw-r--r-- 12,573 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<?xml version="1.0" encoding="UTF-8"?>
<oval_definitions xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd    http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5">
  <generator>
    <oval:schema_version>5.10.1</oval:schema_version>
    <oval:timestamp>2009-05-21T11:46:00-04:00</oval:timestamp>
    <terms_of_use>Copyright (c) 2002-2012, The MITRE Corporation. All rights reserved. The contents of this file are subject to the license described in terms.txt.</terms_of_use>
  </generator>
  <definitions>
    <definition id="oval:org.mitre.oval.test:def:687" version="1" class="miscellaneous">
      <metadata>
        <title>Evaluate to true if the oval:CheckEnumeration simple type is properly supported for the relationship between the instances of an entity</title>
        <description>This definition is intended to evalutate to true if the interpreter properly supports the oval:CheckEnumeration simple type for the relationship between the instances of an entity.</description>
      </metadata>
      <criteria operator="AND">
        <criterion comment="Test that the CheckEnumeration value 'all' is supported where all of the individual results are true." test_ref="oval:org.mitre.oval.test:tst:855"/>
        <criterion negate="true" comment="Test that the CheckEnumeration value 'all' is supported where none of the individual results are true." test_ref="oval:org.mitre.oval.test:tst:663"/>
        <criterion comment="Test that the CheckEnumeration value 'at least one' is supported where more than one of the individual results are true." test_ref="oval:org.mitre.oval.test:tst:679"/>
        <criterion comment="Test that the CheckEnumeration value 'at least one' is supported where one of the individual results are true." test_ref="oval:org.mitre.oval.test:tst:515"/>
        <criterion negate="true" comment="Test that the CheckEnumeration value 'at least one' is supported where none of the individual results are true." test_ref="oval:org.mitre.oval.test:tst:591"/>
        <criterion negate="true" comment="Test that the CheckEnumeration value 'none satisfy' is supported where all of the individual results are true." test_ref="oval:org.mitre.oval.test:tst:647"/>
        <criterion comment="Test that the CheckEnumeration value 'none satisfy' is supported where none of the individual results are true." test_ref="oval:org.mitre.oval.test:tst:854"/>
        <criterion negate="true" comment="Test that the CheckEnumeration value 'only one' is supported where more than one of the individual results are true." test_ref="oval:org.mitre.oval.test:tst:29"/>
        <criterion comment="Test that the CheckEnumeration value 'only one' is supported where one of the individual results are true." test_ref="oval:org.mitre.oval.test:tst:287"/>
        <criterion negate="true" comment="Test that the CheckEnumeration value 'only one' is supported where none of the individual results are true." test_ref="oval:org.mitre.oval.test:tst:818"/>
      </criteria>
    </definition>
  </definitions>
  <tests>
    <variable_test id="oval:org.mitre.oval.test:tst:855" version="1" comment="Test that the CheckEnumeration value 'all' is supported where all of the individual results are true." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
      <object object_ref="oval:org.mitre.oval.test:obj:33"/>
      <state state_ref="oval:org.mitre.oval.test:ste:767"/>
    </variable_test>
    <variable_test id="oval:org.mitre.oval.test:tst:663" version="1" comment="Test that the CheckEnumeration value 'all' is supported where none of the individual results are true." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
      <object object_ref="oval:org.mitre.oval.test:obj:33"/>
      <state state_ref="oval:org.mitre.oval.test:ste:239"/>
    </variable_test>
    <variable_test id="oval:org.mitre.oval.test:tst:679" version="1" comment="Test that the CheckEnumeration value 'at least one' is supported where more than one of the individual results are true." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
      <object object_ref="oval:org.mitre.oval.test:obj:33"/>
      <state state_ref="oval:org.mitre.oval.test:ste:378"/>
    </variable_test>
    <variable_test id="oval:org.mitre.oval.test:tst:515" version="1" comment="Test that the CheckEnumeration value 'at least one' is supported where one of the individual results are true." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
      <object object_ref="oval:org.mitre.oval.test:obj:33"/>
      <state state_ref="oval:org.mitre.oval.test:ste:503"/>
    </variable_test>
    <variable_test id="oval:org.mitre.oval.test:tst:591" version="1" comment="Test that the CheckEnumeration value 'at least one' is supported where none of the individual results are true." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
      <object object_ref="oval:org.mitre.oval.test:obj:33"/>
      <state state_ref="oval:org.mitre.oval.test:ste:537"/>
    </variable_test>
    <variable_test id="oval:org.mitre.oval.test:tst:647" version="1" comment="Test that the CheckEnumeration value 'none satisfy' is supported where all of the individual results are true." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
      <object object_ref="oval:org.mitre.oval.test:obj:33"/>
      <state state_ref="oval:org.mitre.oval.test:ste:414"/>
    </variable_test>
    <variable_test id="oval:org.mitre.oval.test:tst:854" version="1" comment="Test that the CheckEnumeration value 'none satisfy' is supported where none of the individual results are true." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
      <object object_ref="oval:org.mitre.oval.test:obj:33"/>
      <state state_ref="oval:org.mitre.oval.test:ste:449"/>
    </variable_test>
    <variable_test id="oval:org.mitre.oval.test:tst:29" version="1" comment="Test that the CheckEnumeration value 'only one' is supported where more than one of the individual results are true." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
      <object object_ref="oval:org.mitre.oval.test:obj:33"/>
      <state state_ref="oval:org.mitre.oval.test:ste:973"/>
    </variable_test>
    <variable_test id="oval:org.mitre.oval.test:tst:287" version="1" comment="Test that the CheckEnumeration value 'only one' is supported where one of the individual results are true." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
      <object object_ref="oval:org.mitre.oval.test:obj:33"/>
      <state state_ref="oval:org.mitre.oval.test:ste:247"/>
    </variable_test>
    <variable_test id="oval:org.mitre.oval.test:tst:818" version="1" comment="Test that the CheckEnumeration value 'only one' is supported where none of the individual results are true." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
      <object object_ref="oval:org.mitre.oval.test:obj:33"/>
      <state state_ref="oval:org.mitre.oval.test:ste:905"/>
    </variable_test>
  </tests>
  <objects>
    <variable_object id="oval:org.mitre.oval.test:obj:33" version="1" comment="This variable_object references a constant_variable that contains the integer values '1', '2', and '3'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
      <var_ref>oval:org.mitre.oval.test:var:10</var_ref>
    </variable_object>
  </objects>
  <states>
    <variable_state id="oval:org.mitre.oval.test:ste:767" version="1" comment="This variable_state represents a variable_object where all of the values are greater than the integer value '0'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
      <value datatype="int" operation="greater than" entity_check="all">0</value>
    </variable_state>
    <variable_state id="oval:org.mitre.oval.test:ste:239" version="1" comment="This variable_state represents a variable_object where all of the values are less than the integer value '0'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
      <value datatype="int" operation="less than" entity_check="all">0</value>
    </variable_state>
    <variable_state id="oval:org.mitre.oval.test:ste:378" version="1" comment="This variable_state represents a variable_object where at least one of the values are greater than the integer value '0'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
      <value datatype="int" operation="greater than" entity_check="at least one">0</value>
    </variable_state>
    <variable_state id="oval:org.mitre.oval.test:ste:503" version="1" comment="This variable_state represents a variable_object where at least one of the values are greater than the integer value '2'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
      <value datatype="int" operation="greater than" entity_check="at least one">2</value>
    </variable_state>
    <variable_state id="oval:org.mitre.oval.test:ste:537" version="1" comment="This variable_state represents a variable_object where at least one of the values are greater than the integer value '3'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
      <value datatype="int" operation="greater than" entity_check="at least one">3</value>
    </variable_state>
    <variable_state id="oval:org.mitre.oval.test:ste:414" version="1" comment="This variable_state represents a variable_object where none of the values are greater than the integer value '0'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
      <value datatype="int" operation="greater than" entity_check="none satisfy">0</value>
    </variable_state>
    <variable_state id="oval:org.mitre.oval.test:ste:449" version="1" comment="This variable_state represents a variable_object where none of the values are less than the integer value '0'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
      <value datatype="int" operation="less than" entity_check="none satisfy">0</value>
    </variable_state>
    <variable_state id="oval:org.mitre.oval.test:ste:973" version="1" comment="This variable_state represents a variable_object where only one of the values are greater than the integer value '0'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
      <value datatype="int" operation="greater than" entity_check="only one">0</value>
    </variable_state>
    <variable_state id="oval:org.mitre.oval.test:ste:247" version="1" comment="This variable_state represents a variable_object where only one of the values are greater than the integer value '2'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
      <value datatype="int" operation="greater than" entity_check="only one">2</value>
    </variable_state>
    <variable_state id="oval:org.mitre.oval.test:ste:905" version="1" comment="This variable_state represents a variable_object where only one of the values are greater than the integer value '3'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
      <value datatype="int" operation="greater than" entity_check="only one">3</value>
    </variable_state>
  </states>
  <variables>
    <constant_variable id="oval:org.mitre.oval.test:var:10" version="1" comment="This constant_variable represents the integer values '1', '2', and '3'." datatype="int">
      <value>1</value>
      <value>2</value>
      <value>3</value>
    </constant_variable>
  </variables>
</oval_definitions>