Debian Codegraph @

tests/API/OVAL/unittests/test_xsinil_envv58_pid.oval.xml

raw symbols SCIP
1 <oval_definitions xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:ind="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:unix="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:linux="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" 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">
2 <generator>
3 <oval:product_name>Šimon Lukašík</oval:product_name>
4 <oval:product_version>1.0</oval:product_version>
5 <oval:schema_version>5.10</oval:schema_version>
6 <oval:timestamp>2013-10-01T13:44:00</oval:timestamp>
7 </generator>
8 <definitions>
9 <definition class="compliance" id="oval:test:def:116" version="1">
10 <metadata>
11 <title>Ensure that No Dangerous Directories Exist in Root's Path</title>
12 <affected family="unix">
13 <platform>Red Hat Enterprise Linux 6</platform>
14 </affected>
15 <description>The environment variable PATH should be set correctly for
16 the root user.</description>
17 </metadata>
18 <criteria comment="environment variable PATH contains dangerous path" operator="AND">
19 <criterion comment="environment variable PATH starts with : or ." test_ref="oval:test:tst:117"/>
20 </criteria>
21 </definition>
22 </definitions>
23 <tests>
24 <ind:environmentvariable58_test check="none satisfy" comment="environment variable PATH starts with : or ." id="oval:test:tst:117" version="1">
25 <ind:object object_ref="oval:test:obj:3303"/>
26 <ind:state state_ref="oval:test:ste:1192"/>
27 </ind:environmentvariable58_test>
28 </tests>
29 <objects>
30 <ind:environmentvariable58_object id="oval:test:obj:3303" version="1">
31 <ind:pid xsi:nil="true" datatype="int"/>
32 <ind:name>PATH</ind:name>
33 </ind:environmentvariable58_object>
34 </objects>
35 <states>
36 <ind:environmentvariable58_state comment="starts with colon or period" id="oval:test:ste:1192" version="1">
37 <ind:value operation="pattern match">^[:\.]</ind:value>
38 </ind:environmentvariable58_state>
39 </states>
40 </oval_definitions>