Debian Codegraph @

tests/bindings/python/samples/redhat_bench_example/benchmark_example_redhat.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/security_guide/sect-defining_compliance_policy -->
3 <Benchmark xmlns="http://checklists.nist.gov/xccdf/1.2"
4 id="xccdf_com.example.www_benchmark_test">
5 <status>incomplete</status>
6 <version>0.1</version>
7 <Profile id="xccdf_com.example.www_profile_1">
8 <title>Profile title is compulsory</title>
9 <select idref="xccdf_com.example.www_group_1"
10 selected="true"/>
11 <select idref="xccdf_com.example.www_rule_1"
12 selected="true"/>
13 <refine-value idref="xccdf_com.example.www_value_1"
14 selector="telnet_service"/>
15 </Profile>
16 <Group id="xccdf_com.example.www_group_1">
17 <Value id="xccdf_com.example.www_value_1">
18 <title xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">Which package is installed ? (telnet-server/dhcpd/tftpd) </title>
19 <value selector="telnet_service">telnet-server</value>
20 <value selector="dhcp_service">dhcpd</value>
21 <value selector="ftp_service">tftpd</value>
22 </Value>
23 <Rule id="xccdf_com.example.www_rule_1">
24 <title>The telnet-server Package Shall Not Be Installed </title>
25 <rationale>
26 Removing the telnet-server package decreases the risk
27 of the telnet service’s accidental (or intentional) activation
28 </rationale>
29 <fix platform="cpe:/o:redhat:enterprise_linux:6"
30 reboot="false"
31 disruption="low"
32 system="urn:xccdf:fix:script:sh">
33 yum -y remove
34 <sub idref="xccdf_com.example.www_value_1"/>
35 </fix>
36 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
37 <check-export value-id="xccdf_com.example.www_value_1"
38 export-name="oval:com.example.www:var:1"/>
39 <check-content-ref href="examplary.oval.xml"
40 name="oval:com.example.www:def:1"/>
41 </check>
42 <check system="http://open-scap.org/page/SCE">
43 <check-import import-name="stdout"/>
44 <check-content-ref href="telnet_server.sh"/>
45 </check>
46 </Rule>
47 </Group>
48 </Benchmark>