Blame testing_files/scap-mycheck-oval.xml
|
Packit Service |
39273c |
|
|
Packit Service |
39273c |
<oval_definitions xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:lin-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
|
|
Packit Service |
39273c |
<generator>
|
|
Packit Service |
39273c |
<oval:product_name>vim, emacs</oval:product_name>
|
|
Packit Service |
39273c |
<oval:schema_version>5.5</oval:schema_version>
|
|
Packit Service |
39273c |
<oval:timestamp>2010-08-30T12:00:00-04:00</oval:timestamp>
|
|
Packit Service |
39273c |
</generator>
|
|
Packit Service |
39273c |
<definitions>
|
|
Packit Service |
39273c |
<definition class="compliance" id="oval:org.open-scap.f14:def:20000" version="1">
|
|
Packit Service |
39273c |
<metadata>
|
|
Packit Service |
39273c |
<title>Ensure that /root/must_exist.txt file exists.</title>
|
|
Packit Service |
39273c |
<reference ref_id="TBD" source="CCE"/>
|
|
Packit Service |
39273c |
<description>
|
|
Packit Service |
39273c |
Testing check.
|
|
Packit Service |
39273c |
</description>
|
|
Packit Service |
39273c |
</metadata>
|
|
Packit Service |
39273c |
<criteria>
|
|
Packit Service |
39273c |
<criterion comment="Check /root/must_exist.txt file exists" test_ref="oval:org.open-scap.f14:tst:20000"/>
|
|
Packit Service |
39273c |
</criteria>
|
|
Packit Service |
39273c |
</definition>
|
|
Packit Service |
39273c |
</definitions>
|
|
Packit Service |
39273c |
<tests>
|
|
Packit Service |
39273c |
<unix-def:file_test check="all" check_existence="at_least_one_exists" comment="Check /root/must_exist.txt file exists" id="oval:org.open-scap.f14:tst:20000" version="1">
|
|
Packit Service |
39273c |
<unix-def:object object_ref="oval:org.open-scap.f14:obj:20000"/>
|
|
Packit Service |
39273c |
</unix-def:file_test>
|
|
Packit Service |
39273c |
</tests>
|
|
Packit Service |
39273c |
<objects>
|
|
Packit Service |
39273c |
<unix-def:file_object comment="Check existance of /root/must_exist.txt" id="oval:org.open-scap.f14:obj:20000" version="1">
|
|
Packit Service |
39273c |
<unix-def:path operation="pattern match">^/root$</unix-def:path>
|
|
Packit Service |
39273c |
<unix-def:filename>must_exist.txt</unix-def:filename>
|
|
Packit Service |
39273c |
</unix-def:file_object>
|
|
Packit Service |
39273c |
</objects>
|
|
Packit Service |
39273c |
</oval_definitions>
|