Debian Codegraph @

tests/API/OVAL/unittests/test_recursive_extend_def.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ns3:oval_definitions xmlns:ns3="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd 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 http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd">
3 <ns3:generator>
4 <ns5:product_name xmlns:ns5="http://oval.mitre.org/XMLSchema/oval-common-5">combine_ovals.py from SCAP Security Guide</ns5:product_name>
5 <ns5:product_version xmlns:ns5="http://oval.mitre.org/XMLSchema/oval-common-5">ssg: [0, 1, 49], python: 3.7.6</ns5:product_version>
6 <ns5:schema_version xmlns:ns5="http://oval.mitre.org/XMLSchema/oval-common-5">5.11</ns5:schema_version>
7 <ns5:timestamp xmlns:ns5="http://oval.mitre.org/XMLSchema/oval-common-5">2020-03-11T10:34:56</ns5:timestamp>
8 </ns3:generator>
9 <ns3:definitions>
10 <ns3:definition class="compliance" id="oval:x:def:1" version="1">
11 <ns3:metadata>
12 <ns3:title>Definition 1</ns3:title>
13 <ns3:description>Definition 1</ns3:description>
14 </ns3:metadata>
15 <ns3:criteria comment="two criteria" operator="AND">
16 <ns3:extend_definition comment="other definition" definition_ref="oval:x:def:2"/>
17 <ns3:extend_definition comment="points to itself" definition_ref="oval:x:def:1"/>
18 </ns3:criteria>
19 </ns3:definition>
20 <ns3:definition class="compliance" id="oval:x:def:2" version="1">
21 <ns3:metadata>
22 <ns3:title>Definition 2</ns3:title>
23 <ns3:description>Definition 2</ns3:description>
24 </ns3:metadata>
25 <ns3:criteria comment="one criterion" operator="AND">
26 <ns3:criterion comment="file test" test_ref="oval:x:tst:1"/>
27 </ns3:criteria>
28 </ns3:definition>
29 </ns3:definitions>
30 <ns3:tests>
31 <ns8:file_test xmlns:ns8="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" check="all" check_existence="any_exist" comment="file test" id="oval:x:tst:1" version="1">
32 <ns8:object object_ref="oval:x:obj:1"/>
33 </ns8:file_test>
34 </ns3:tests>
35 <ns3:objects>
36 <ns8:file_object xmlns:ns8="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" comment="dummy file" id="oval:x:obj:1" version="1">
37 <ns8:filepath>/tmp/xxx</ns8:filepath>
38 </ns8:file_object>
39 </ns3:objects>
40 </ns3:oval_definitions>