File: test_remediation_simple.oval.xml

package info (click to toggle)
openscap 1.0.9-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 129,588 kB
  • ctags: 26,325
  • sloc: xml: 611,156; ansic: 90,367; sh: 26,693; makefile: 2,463; python: 804; perl: 445; cpp: 123
file content (41 lines) | stat: -rw-r--r-- 2,179 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0" encoding="UTF-8"?>
<oval_definitions xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
	xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"
	xmlns:lin-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux"
	xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5"
	xmlns="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-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">
	<generator>
		<oval:product_name>Text Editors</oval:product_name>
		<oval:schema_version>5.8</oval:schema_version>
		<oval:timestamp>2010-06-08T12:00:00-04:00</oval:timestamp>
	</generator>
	<definitions>
		<definition class="compliance" id="oval:moc.elpmaxe.www:def:1" version="1">
			<metadata><title>PASS</title><description>Ensure that test_file is not executable</description></metadata>
			<criteria><criterion test_ref="oval:moc.elpmaxe.www:tst:1" comment="Is not executable"/></criteria>
		</definition>
	</definitions>
	<tests>
		<unix-def:file_test check_existence="all_exist" id="oval:moc.elpmaxe.www:tst:1" version="1" check="all" comment="Testing permissions on ./test_file">
			<unix-def:object object_ref="oval:moc.elpmaxe.www:obj:1"/>
			<unix-def:state state_ref="oval:moc.elpmaxe.www:ste:1"/>
		</unix-def:file_test>
	</tests>
	<objects>
		<unix-def:file_object id="oval:moc.elpmaxe.www:obj:1" version="1" comment="not_executable">
			<unix-def:path>./</unix-def:path>
			<unix-def:filename>test_file</unix-def:filename>
		</unix-def:file_object>
	</objects>
	<states>
		<unix-def:file_state id="oval:moc.elpmaxe.www:ste:1" version="1">
			<unix-def:oexec datatype="boolean">false</unix-def:oexec>
		</unix-def:file_state>
	</states>
</oval_definitions>