Debian Codegraph @

tests/probes/filehash58/check_filehash_simple.xml

raw symbols SCIP
1 <ns0:oval_definitions xmlns:ns0="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:ns2="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:ns3="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:ns4="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:ns5="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 <ns0:generator>
3 <ns2:product_name>combine_ovals.py from SCAP Security Guide</ns2:product_name>
4 <ns2:product_version>ssg: [0, 1, 40], python: 3.6.5</ns2:product_version>
5 <ns2:schema_version>5.11</ns2:schema_version>
6 <ns2:timestamp>2018-07-20T09:33:24</ns2:timestamp>
7 </ns0:generator>
8 <ns0:definitions>
9 <ns0:definition class="compliance" id="oval:ssg-oval_test_has_hash:def:1" version="1">
10 <ns0:metadata>
11 <ns0:title>Verify that hash of a file that should contain just "foo\n".</ns0:title>
12 <ns0:affected family="unix">
13 <ns0:platform>Red Hat Enterprise Linux 7</ns0:platform>
14 </ns0:affected>
15 <ns0:description>This description in OVALs is mandatory, but the most important is to have description in XCCDF.</ns0:description>
16 <reference ref_id="oval_test_has_hash" source="ssg" /></ns0:metadata>
17 <ns0:criteria>
18 <ns0:criterion comment="Check file hash of /oval-test" test_ref="oval:ssg-oval_test_hash_matches:tst:1" />
19 </ns0:criteria>
20 </ns0:definition>
21 </ns0:definitions>
22 <ns0:tests>
23 <ns3:filehash58_test check="all" comment="-" id="oval:ssg-oval_test_hash_matches:tst:1" version="1">
24 <ns3:object object_ref="oval:ssg-concerned_file:obj:1" />
25 <ns3:state state_ref="oval:ssg-hash_value:ste:1" />
26 </ns3:filehash58_test>
27 </ns0:tests>
28 <ns0:objects>
29 <ns3:filehash58_object id="oval:ssg-concerned_file:obj:1" version="1">
30 <ns3:filepath>/oval-test</ns3:filepath>
31 <ns3:hash_type>SHA-256</ns3:hash_type>
32 </ns3:filehash58_object>
33 </ns0:objects>
34 <ns0:states>
35 <ns3:filehash58_state id="oval:ssg-hash_value:ste:1" version="1">
36 <ns3:hash_type>SHA-256</ns3:hash_type>
37 <ns3:hash>b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c</ns3:hash>
38 </ns3:filehash58_state>
39 </ns0:states>
40 </ns0:oval_definitions>