|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<Benchmark xmlns="http://checklists.nist.gov/xccdf/1.2" id="xccdf_moc.elpmaxe.www_benchmark_test"> |
| 3 | + <status>accepted</status> |
| 4 | + <version>1.0</version> |
| 5 | + <Profile id="xccdf_moc.elpmaxe.www_profile_common"> |
| 6 | + <title>Profile title on one line</title> |
| 7 | + <description>Profile description</description> |
| 8 | + <select idref="xccdf_moc.elpmaxe.www_rule_1" selected="true"/> |
| 9 | + </Profile> |
| 10 | + <Rule selected="true" id="xccdf_moc.elpmaxe.www_rule_1"> |
| 11 | + <title>Install aide</title> |
| 12 | + <fix system="urn:redhat:osbuild:blueprint"> |
| 13 | +[[packages]] |
| 14 | +name = "aide" |
| 15 | +version = "*" |
| 16 | +</fix> |
| 17 | + <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 18 | + <check-content-ref href="test_remediation_simple.oval.xml" name="oval:moc.elpmaxe.www:def:1"/> |
| 19 | + </check> |
| 20 | + </Rule> |
| 21 | + <Rule selected="true" id="xccdf_moc.elpmaxe.www_rule_2"> |
| 22 | + <title>Define /home</title> |
| 23 | + <fix system="urn:redhat:osbuild:blueprint"> |
| 24 | +[[customizations.filesystem]] |
| 25 | +mountpoint = "/home" |
| 26 | +size = 1 |
| 27 | +</fix> |
| 28 | + <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 29 | + <check-content-ref href="test_remediation_simple.oval.xml" name="oval:moc.elpmaxe.www:def:1"/> |
| 30 | + </check> |
| 31 | + </Rule> |
| 32 | + <Rule selected="true" id="xccdf_moc.elpmaxe.www_rule_3"> |
| 33 | + <title>Add audit=1 kernel option</title> |
| 34 | + <fix system="urn:redhat:osbuild:blueprint"> |
| 35 | +[customizations.kernel] |
| 36 | +append = "audit=1" |
| 37 | +</fix> |
| 38 | + <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 39 | + <check-content-ref href="test_remediation_simple.oval.xml" name="oval:moc.elpmaxe.www:def:1"/> |
| 40 | + </check> |
| 41 | + </Rule> |
| 42 | + <Rule selected="true" id="xccdf_moc.elpmaxe.www_rule_4"> |
| 43 | + <title>Add foo=bar kernel option</title> |
| 44 | + <fix system="urn:redhat:osbuild:blueprint"> |
| 45 | +[customizations.kernel] |
| 46 | +append = "foo=bar" |
| 47 | +</fix> |
| 48 | + <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 49 | + <check-content-ref href="test_remediation_simple.oval.xml" name="oval:moc.elpmaxe.www:def:1"/> |
| 50 | + </check> |
| 51 | + </Rule> |
| 52 | + <Rule selected="true" id="xccdf_moc.elpmaxe.www_rule_5"> |
| 53 | + <title>Define /tmp</title> |
| 54 | + <fix system="urn:redhat:osbuild:blueprint"> |
| 55 | +[[customizations.filesystem]] |
| 56 | +mountpoint = "/tmp" |
| 57 | +size = 2 |
| 58 | +</fix> |
| 59 | + <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 60 | + <check-content-ref href="test_remediation_simple.oval.xml" name="oval:moc.elpmaxe.www:def:1"/> |
| 61 | + </check> |
| 62 | + </Rule> |
| 63 | + <Rule selected="true" id="xccdf_moc.elpmaxe.www_rule_6"> |
| 64 | + <title>Enable usbguard</title> |
| 65 | + <fix system="urn:redhat:osbuild:blueprint"> |
| 66 | +[customizations.services] |
| 67 | +enabled = ["usbguard"] |
| 68 | +</fix> |
| 69 | + <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 70 | + <check-content-ref href="test_remediation_simple.oval.xml" name="oval:moc.elpmaxe.www:def:1"/> |
| 71 | + </check> |
| 72 | + </Rule> |
| 73 | + <Rule selected="true" id="xccdf_moc.elpmaxe.www_rule_7"> |
| 74 | + <title>Disable kdump</title> |
| 75 | + <fix system="urn:redhat:osbuild:blueprint"> |
| 76 | +[customizations.services] |
| 77 | +disabled = ["kdump"] |
| 78 | +</fix> |
| 79 | + <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 80 | + <check-content-ref href="test_remediation_simple.oval.xml" name="oval:moc.elpmaxe.www:def:1"/> |
| 81 | + </check> |
| 82 | + </Rule> |
| 83 | + <Rule selected="true" id="xccdf_moc.elpmaxe.www_rule_8"> |
| 84 | + <title>Set distro (RHEL 8.0)</title> |
| 85 | + <fix system="urn:redhat:osbuild:blueprint"> |
| 86 | +distro = rhel-80 |
| 87 | +</fix> |
| 88 | + <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 89 | + <check-content-ref href="test_remediation_simple.oval.xml" name="oval:moc.elpmaxe.www:def:1"/> |
| 90 | + </check> |
| 91 | + </Rule> |
| 92 | + <Rule selected="true" id="xccdf_moc.elpmaxe.www_rule_9"> |
| 93 | + <title>Enable sshd</title> |
| 94 | + <fix system="urn:redhat:osbuild:blueprint"> |
| 95 | +[customizations.services] |
| 96 | +enabled = ["sshd"] |
| 97 | +</fix> |
| 98 | + <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 99 | + <check-content-ref href="test_remediation_simple.oval.xml" name="oval:moc.elpmaxe.www:def:1"/> |
| 100 | + </check> |
| 101 | + </Rule> |
| 102 | + <Rule selected="true" id="xccdf_moc.elpmaxe.www_rule_10"> |
| 103 | + <title>Enable sshd</title> |
| 104 | + <fix system="urn:redhat:osbuild:blueprint"> |
| 105 | +[customizations.services] |
| 106 | +enabled = ["sshd"] |
| 107 | +</fix> |
| 108 | + <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 109 | + <check-content-ref href="test_remediation_simple.oval.xml" name="oval:moc.elpmaxe.www:def:1"/> |
| 110 | + </check> |
| 111 | + </Rule> |
| 112 | +</Benchmark> |
0 commit comments