Debian Codegraph @

tests/probes/sysctl/test_sysctl_probe.oval.xml

raw symbols SCIP
1 <?xml version='1.0' encoding='UTF-8'?>
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 <generator>
4 <oval:product_name>human</oval:product_name>
5 <oval:product_version>0.1</oval:product_version>
6 <oval:schema_version>5.10</oval:schema_version>
7 <oval:timestamp>2015-12-08T08:08:08+01:00</oval:timestamp>
8 </generator>
9
10 <definitions>
11 <definition class="compliance" id="oval:oscap:def:1" version="1">
12 <metadata>
13 <title>Test the sysctl probe</title>
14 <description>The probe will collect kernel parameters form the system</description>
15 <expected_results>
16 <result configuration="1">PASS</result>
17 </expected_results>
18 </metadata>
19 <criteria>
20 <criterion comment="Test that probe can collect an object." negate="false" test_ref="oval:oscap:tst:1"/>
21 </criteria>
22 </definition>
23 </definitions>
24
25 <tests>
26 <sysctl_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" check="all" comment="Test that probe can collect an object." id="oval:oscap:tst:1" version="1">
27 <object object_ref="oval:oscap:obj:1"/>
28 </sysctl_test>
29 </tests>
30
31 <objects>
32 <sysctl_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" id="oval:oscap:obj:1" version="1">
33 <name datatype="string" operation="pattern match">kernel.hostname</name>
34 </sysctl_object>
35 </objects>
36
37 </oval_definitions>