Debian Codegraph @

tests/probes/process58/test_probes_process58_offline_mode.xml.sh

raw symbols SCIP
1 #!/usr/bin/env bash
2
3 VALID=$1
4
5 cat <<EOF
6 <?xml version="1.0"?>
7 <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">
8
9 <generator>
10 <oval:product_name>process58</oval:product_name>
11 <oval:product_version>1.0</oval:product_version>
12 <oval:schema_version>5.11</oval:schema_version>
13 <oval:timestamp>2011-07-13T00:00:00-00:00</oval:timestamp>
14 </generator>
15
16 <definitions>
17
18 <definition class="compliance" version="1" id="oval:1:def:1"> <!-- comment="${VALID}" -->
19 <metadata>
20 <title></title>
21 <description></description>
22 </metadata>
23 <criteria>
24 <criteria operator="AND">
25 <criterion test_ref="oval:1:tst:1"/>
26 </criteria>
27 </criteria>
28 </definition>
29
30 </definitions>
31
32 <tests>
33 <process58_test version="1" id="oval:1:tst:1" check="at least one" comment="${VALID}" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
34 <object object_ref="oval:1:obj:1"/>
35 <state state_ref="oval:1:ste:1"/>
36 </process58_test>
37 </tests>
38
39 <objects>
40 <process58_object version="1" id="oval:1:obj:1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
41 <command_line operation="pattern match">.*</command_line>
42 <pid datatype="int">1</pid>
43 </process58_object>
44 </objects>
45
46 <states>
47 <process58_state version="1" id="oval:1:ste:1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
48 <pid datatype="int">1</pid>
49 </process58_state>
50 </states>
51
52 </oval_definitions>
53 EOF