|
16 | 16 | <description></description>
|
17 | 17 | </metadata>
|
18 | 18 | <criteria operator="AND">
|
19 |
| - <criterion comment="get_root_scalar" test_ref="oval:0:tst:1"/> |
20 |
| - <criterion comment="get_nested_scalar" test_ref="oval:0:tst:2"/> |
21 |
| - <criterion comment="filtered_get" test_ref="oval:0:tst:3"/> |
22 |
| - <criterion comment="filtered_get_multiple" test_ref="oval:0:tst:4"/> |
| 19 | + <criterion comment="get_indexed_array" test_ref="oval:0:tst:1"/> |
| 20 | + <criterion comment="get_range_array" test_ref="oval:0:tst:2"/> |
23 | 21 | </criteria>
|
24 | 22 | </definition>
|
25 | 23 |
|
|
29 | 27 | <description></description>
|
30 | 28 | </metadata>
|
31 | 29 | <criteria operator="AND">
|
32 |
| - <criterion comment="non_scalar_get" test_ref="oval:0:tst:5"/> |
| 30 | + <criterion comment="get_non_scalar_array" test_ref="oval:0:tst:3"/> |
33 | 31 | </criteria>
|
34 | 32 | </definition>
|
35 | 33 |
|
|
47 | 45 | <ind-def:state state_ref="oval:0:ste:2"/>
|
48 | 46 | </ind-def:yamlfilecontent_test>
|
49 | 47 |
|
50 |
| - <ind-def:yamlfilecontent_test version="1" id="oval:0:tst:3" check="all" comment="true"> |
| 48 | + <ind-def:yamlfilecontent_test version="1" id="oval:0:tst:3" check="all" comment="error"> |
51 | 49 | <ind-def:object object_ref="oval:0:obj:3"/>
|
52 |
| - <ind-def:state state_ref="oval:0:ste:3"/> |
53 |
| - </ind-def:yamlfilecontent_test> |
54 |
| - |
55 |
| - <ind-def:yamlfilecontent_test version="1" id="oval:0:tst:4" check="all" comment="true"> |
56 |
| - <ind-def:object object_ref="oval:0:obj:4"/> |
57 |
| - <ind-def:state state_ref="oval:0:ste:4"/> |
58 |
| - </ind-def:yamlfilecontent_test> |
59 |
| - |
60 |
| - <ind-def:yamlfilecontent_test version="1" id="oval:0:tst:5" check="all" comment="error"> |
61 |
| - <ind-def:object object_ref="oval:0:obj:5"/> |
62 | 50 | </ind-def:yamlfilecontent_test>
|
63 | 51 |
|
64 | 52 | </tests>
|
65 | 53 |
|
66 | 54 | <objects>
|
67 | 55 |
|
68 | 56 | <ind-def:yamlfilecontent_object version="1" id="oval:0:obj:1">
|
69 |
| - <ind-def:path>/tmp</ind-def:path> |
70 |
| - <ind-def:filename>openshift-logging.yaml</ind-def:filename> |
71 |
| - <ind-def:yamlpath>.kind</ind-def:yamlpath> |
72 |
| - </ind-def:yamlfilecontent_object> |
73 |
| - |
74 |
| - <ind-def:yamlfilecontent_object version="1" id="oval:0:obj:2"> |
75 |
| - <ind-def:path>/tmp</ind-def:path> |
76 |
| - <ind-def:filename>openshift-logging.yaml</ind-def:filename> |
77 |
| - <ind-def:yamlpath>.metadata.namespace</ind-def:yamlpath> |
78 |
| - </ind-def:yamlfilecontent_object> |
79 |
| - |
80 |
| - <ind-def:yamlfilecontent_object version="1" id="oval:0:obj:3"> |
81 | 57 | <ind-def:path>/tmp</ind-def:path>
|
82 | 58 | <ind-def:filename>openshift-logging.yaml</ind-def:filename>
|
83 | 59 | <ind-def:yamlpath>.spec.outputs[2].name</ind-def:yamlpath>
|
84 | 60 | </ind-def:yamlfilecontent_object>
|
85 | 61 |
|
86 |
| - <ind-def:yamlfilecontent_object version="1" id="oval:0:obj:4"> |
| 62 | + <ind-def:yamlfilecontent_object version="1" id="oval:0:obj:2"> |
87 | 63 | <ind-def:path>/tmp</ind-def:path>
|
88 | 64 | <ind-def:filename>openshift-logging.yaml</ind-def:filename>
|
89 | 65 | <ind-def:yamlpath>.spec.outputs[0:2].name</ind-def:yamlpath>
|
90 | 66 | </ind-def:yamlfilecontent_object>
|
91 | 67 |
|
92 |
| - <ind-def:yamlfilecontent_object version="1" id="oval:0:obj:5"> |
| 68 | + <ind-def:yamlfilecontent_object version="1" id="oval:0:obj:3"> |
93 | 69 | <ind-def:path>/tmp</ind-def:path>
|
94 | 70 | <ind-def:filename>openshift-logging.yaml</ind-def:filename>
|
95 | 71 | <ind-def:yamlpath>.spec.outputs[0]</ind-def:yamlpath>
|
|
100 | 76 | <states>
|
101 | 77 |
|
102 | 78 | <ind-def:yamlfilecontent_state version="1" id="oval:0:ste:1">
|
103 |
| - <ind-def:value-of datatype="string">LogForwarding</ind-def:value-of> |
104 |
| - </ind-def:yamlfilecontent_state> |
105 |
| - |
106 |
| - <ind-def:yamlfilecontent_state version="1" id="oval:0:ste:2"> |
107 |
| - <ind-def:value-of datatype="string">openshift-logging</ind-def:value-of> |
108 |
| - </ind-def:yamlfilecontent_state> |
109 |
| - |
110 |
| - <ind-def:yamlfilecontent_state version="1" id="oval:0:ste:3"> |
111 | 79 | <ind-def:value-of datatype="string">secureforward-offcluster</ind-def:value-of>
|
112 | 80 | </ind-def:yamlfilecontent_state>
|
113 | 81 |
|
114 |
| - <ind-def:yamlfilecontent_state version="1" id="oval:0:ste:4"> |
115 |
| - <ind-def:value-of datatype="string" var_ref="oval:0:var:4"/> |
| 82 | + <ind-def:yamlfilecontent_state version="1" id="oval:0:ste:2"> |
| 83 | + <ind-def:value-of datatype="string" var_ref="oval:0:var:2"/> |
116 | 84 | </ind-def:yamlfilecontent_state>
|
117 | 85 |
|
118 | 86 | </states>
|
119 | 87 |
|
120 | 88 | <variables>
|
121 | 89 |
|
122 |
| - <local_variable comment="oval:0:var:3" datatype="string" version="1" id=""> |
| 90 | + <local_variable comment="oval:0:var:2" datatype="string" version="1" id=""> |
123 | 91 | <!-- The use of split should force creation of a local variable with two values
|
124 | 92 | NOTE: Wildly untested! -->
|
125 | 93 | <split delimiter="|">
|
|
0 commit comments