f81285e2ad
Resolves: rhbz#1959265
56 lines
3.7 KiB
XML
56 lines
3.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ds:data-stream-collection xmlns:ds="http://scap.nist.gov/schema/scap/source/1.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:cat="urn:oasis:names:tc:entity:xmlns:xml:catalog" id="scap_org.open-scap_collection_from_xccdf_xccdf.xml" schematron-version="1.2"><ds:data-stream id="scap_org.open-scap_datastream_from_xccdf_xccdf.xml" scap-version="1.2" use-case="OTHER"><ds:checklists><ds:component-ref id="scap_org.open-scap_cref_xccdf.xml" xlink:href="#scap_org.open-scap_comp_xccdf.xml"><cat:catalog><cat:uri name="oval.xml" uri="#scap_org.open-scap_cref_oval.xml"/></cat:catalog></ds:component-ref></ds:checklists><ds:checks><ds:component-ref id="scap_org.open-scap_cref_oval.xml" xlink:href="#scap_org.open-scap_comp_oval.xml"/></ds:checks></ds:data-stream><ds:component id="scap_org.open-scap_comp_oval.xml" timestamp="2016-09-07T20:50:46"><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">
|
|
<generator>
|
|
<oval:schema_version>5.10</oval:schema_version>
|
|
<oval:timestamp>0001-01-01T00:00:00+00:00</oval:timestamp>
|
|
</generator>
|
|
|
|
<definitions>
|
|
<definition class="compliance" version="1" id="oval:x:def:1">
|
|
<metadata>
|
|
<title>x</title>
|
|
<description>x</description>
|
|
<affected family="unix">
|
|
<platform>Minimal test environment</platform>
|
|
</affected>
|
|
</metadata>
|
|
<criteria>
|
|
<criterion test_ref="oval:x:tst:1" comment="always pass"/>
|
|
</criteria>
|
|
</definition>
|
|
</definitions>
|
|
|
|
|
|
<tests>
|
|
<unix:file_test id="oval:x:tst:1" version="1" check="all" check_existence="all_exist" comment="check presence of file">
|
|
<unix:object object_ref="oval:x:obj:1"/>
|
|
</unix:file_test>
|
|
</tests>
|
|
|
|
<objects>
|
|
<unix:file_object id="oval:x:obj:1" version="1">
|
|
<unix:filepath>/rh_baseos_test</unix:filepath>
|
|
</unix:file_object>
|
|
</objects>
|
|
|
|
</oval_definitions></ds:component><ds:component id="scap_org.open-scap_comp_xccdf.xml" timestamp="2016-09-07T21:00:59"><Benchmark xmlns="http://checklists.nist.gov/xccdf/1.2" id="xccdf_test_benchmark_container">
|
|
<status>incomplete</status>
|
|
<platform idref="cpe:/o:fedoraproject:fedora"/>
|
|
<platform idref="cpe:/o:redhat:enterprise_linux"/>
|
|
<version>1.0</version>
|
|
<model system="urn:xccdf:scoring:default"/>
|
|
<Profile id="xccdf_org.ssgproject.content_profile_standard">
|
|
<title xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">Dummy standard profile</title>
|
|
<select idref="xccdf_test_rule_check_test_file" selected="true"/>
|
|
</Profile>
|
|
|
|
<Rule selected="true" id="xccdf_test_rule_check_test_file">
|
|
<fix id="check_test_file" system="urn:xccdf:fix:script:sh" complexity="low" disruption="low" strategy="configure">
|
|
touch /rh_baseos_test
|
|
</fix>
|
|
<check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
|
|
<check-content-ref href="oval.xml" name="oval:x:def:1"/>
|
|
</check>
|
|
</Rule>
|
|
</Benchmark></ds:component></ds:data-stream-collection>
|