| 1 |
<?xml version="1.0"?> |
| 2 |
<oval_definitions xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:lin-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd"> |
| 3 |
|
| 4 |
<generator> |
| 5 |
<oval:product_name>yamlfilecontent</oval:product_name> |
| 6 |
<oval:product_version>1.0</oval:product_version> |
| 7 |
<oval:schema_version>5.11.3</oval:schema_version> |
| 8 |
<oval:timestamp>2020-02-13T00:00:00-00:00</oval:timestamp> |
| 9 |
</generator> |
| 10 |
|
| 11 |
<definitions> |
| 12 |
|
| 13 |
<definition class="compliance" version="1" id="oval:0:def:1"> |
| 14 |
<metadata> |
| 15 |
<title></title> |
| 16 |
<description></description> |
| 17 |
</metadata> |
| 18 |
<criteria operator="AND"> |
| 19 |
<criterion comment="get_indexed_array" test_ref="oval:0:tst:1"/> |
| 20 |
<criterion comment="get_range_array" test_ref="oval:0:tst:2"/> |
| 21 |
</criteria> |
| 22 |
</definition> |
| 23 |
|
| 24 |
<definition class="compliance" version="1" id="oval:0:def:2"> |
| 25 |
<metadata> |
| 26 |
<title></title> |
| 27 |
<description></description> |
| 28 |
</metadata> |
| 29 |
<criteria operator="AND"> |
| 30 |
<criterion comment="get_non_scalar_array" test_ref="oval:0:tst:3"/> |
| 31 |
</criteria> |
| 32 |
</definition> |
| 33 |
|
| 34 |
<definition class="compliance" version="1" id="oval:0:def:3"> |
| 35 |
<metadata> |
| 36 |
<title></title> |
| 37 |
<description></description> |
| 38 |
</metadata> |
| 39 |
<criteria operator="AND"> |
| 40 |
<criterion comment="get_2_dim_array" test_ref="oval:0:tst:4"/> |
| 41 |
<criterion comment="get_2_dim_array_set" test_ref="oval:0:tst:5"/> |
| 42 |
</criteria> |
| 43 |
</definition> |
| 44 |
|
| 45 |
</definitions> |
| 46 |
|
| 47 |
<tests> |
| 48 |
|
| 49 |
<ind-def:yamlfilecontent_test version="1" id="oval:0:tst:1" check="all" comment="true"> |
| 50 |
<ind-def:object object_ref="oval:0:obj:1"/> |
| 51 |
<ind-def:state state_ref="oval:0:ste:1"/> |
| 52 |
</ind-def:yamlfilecontent_test> |
| 53 |
|
| 54 |
<ind-def:yamlfilecontent_test version="1" id="oval:0:tst:2" check="all" comment="true"> |
| 55 |
<ind-def:object object_ref="oval:0:obj:2"/> |
| 56 |
<ind-def:state state_ref="oval:0:ste:2"/> |
| 57 |
</ind-def:yamlfilecontent_test> |
| 58 |
|
| 59 |
<ind-def:yamlfilecontent_test version="1" id="oval:0:tst:3" check="all" comment="error"> |
| 60 |
<ind-def:object object_ref="oval:0:obj:3"/> |
| 61 |
</ind-def:yamlfilecontent_test> |
| 62 |
|
| 63 |
<ind-def:yamlfilecontent_test version="1" id="oval:0:tst:4" check="all" comment="true"> |
| 64 |
<ind-def:object object_ref="oval:0:obj:4"/> |
| 65 |
<ind-def:state state_ref="oval:0:ste:3"/> |
| 66 |
</ind-def:yamlfilecontent_test> |
| 67 |
|
| 68 |
<ind-def:yamlfilecontent_test version="1" id="oval:0:tst:5" check="all" comment="true"> |
| 69 |
<ind-def:object object_ref="oval:0:obj:5"/> |
| 70 |
<ind-def:state state_ref="oval:0:ste:3"/> |
| 71 |
</ind-def:yamlfilecontent_test> |
| 72 |
|
| 73 |
</tests> |
| 74 |
|
| 75 |
<objects> |
| 76 |
|
| 77 |
<ind-def:yamlfilecontent_object version="1" id="oval:0:obj:1"> |
| 78 |
<ind-def:path>/tmp</ind-def:path> |
| 79 |
<ind-def:filename>openshift-logging.yaml</ind-def:filename> |
| 80 |
<ind-def:yamlpath>.spec.outputs[2].name</ind-def:yamlpath> |
| 81 |
</ind-def:yamlfilecontent_object> |
| 82 |
|
| 83 |
<ind-def:yamlfilecontent_object version="1" id="oval:0:obj:2"> |
| 84 |
<ind-def:path>/tmp</ind-def:path> |
| 85 |
<ind-def:filename>openshift-logging.yaml</ind-def:filename> |
| 86 |
<ind-def:yamlpath>.spec.outputs[:].name</ind-def:yamlpath> |
| 87 |
</ind-def:yamlfilecontent_object> |
| 88 |
|
| 89 |
<ind-def:yamlfilecontent_object version="1" id="oval:0:obj:3"> |
| 90 |
<ind-def:path>/tmp</ind-def:path> |
| 91 |
<ind-def:filename>openshift-logging.yaml</ind-def:filename> |
| 92 |
<ind-def:yamlpath>.spec.outputs[0]</ind-def:yamlpath> |
| 93 |
</ind-def:yamlfilecontent_object> |
| 94 |
|
| 95 |
<ind-def:yamlfilecontent_object version="1" id="oval:0:obj:4"> |
| 96 |
<ind-def:path>/tmp</ind-def:path> |
| 97 |
<ind-def:filename>openshift-logging.yaml</ind-def:filename> |
| 98 |
<ind-def:yamlpath>.arrs[:][:]</ind-def:yamlpath> |
| 99 |
</ind-def:yamlfilecontent_object> |
| 100 |
|
| 101 |
<ind-def:yamlfilecontent_object version="1" id="oval:0:obj:5"> |
| 102 |
<ind-def:path>/tmp</ind-def:path> |
| 103 |
<ind-def:filename>openshift-logging.yaml</ind-def:filename> |
| 104 |
<ind-def:yamlpath>.arrs</ind-def:yamlpath> |
| 105 |
</ind-def:yamlfilecontent_object> |
| 106 |
|
| 107 |
</objects> |
| 108 |
|
| 109 |
<states> |
| 110 |
|
| 111 |
<ind-def:yamlfilecontent_state version="1" id="oval:0:ste:1"> |
| 112 |
<ind-def:value datatype="record"> |
| 113 |
<field name="#" datatype="string">secureforward-offcluster</field> |
| 114 |
</ind-def:value> |
| 115 |
</ind-def:yamlfilecontent_state> |
| 116 |
|
| 117 |
<ind-def:yamlfilecontent_state version="1" id="oval:0:ste:2"> |
| 118 |
<ind-def:value datatype="record"> |
| 119 |
<field name="#" datatype="string" var_ref="oval:0:var:2" var_check="at least one" entity_check="at least one"/> |
| 120 |
</ind-def:value> |
| 121 |
</ind-def:yamlfilecontent_state> |
| 122 |
|
| 123 |
<ind-def:yamlfilecontent_state version="1" id="oval:0:ste:3"> |
| 124 |
<ind-def:value datatype="record"> |
| 125 |
<field name="#" datatype="int" var_ref="oval:0:var:3" var_check="at least one" entity_check="at least one"/> |
| 126 |
</ind-def:value> |
| 127 |
</ind-def:yamlfilecontent_state> |
| 128 |
|
| 129 |
</states> |
| 130 |
|
| 131 |
<variables> |
| 132 |
|
| 133 |
<local_variable comment="variable with two values" datatype="string" version="1" id="oval:0:var:2"> |
| 134 |
|
| 135 |
|
| 136 |
<split delimiter="|"> |
| 137 |
<literal_component>elasticsearch|elasticsearch-insecure</literal_component> |
| 138 |
</split> |
| 139 |
</local_variable> |
| 140 |
|
| 141 |
<local_variable comment="variable with three values" datatype="int" version="1" id="oval:0:var:3"> |
| 142 |
<split delimiter="|"> |
| 143 |
<literal_component>1|2|3|4|5|6</literal_component> |
| 144 |
</split> |
| 145 |
</local_variable> |
| 146 |
|
| 147 |
</variables> |
| 148 |
</oval_definitions> |