| 1 | ############################################################################### |
| 2 | # |
| 3 | # Blueprint for Profile title on one line |
| 4 | # |
| 5 | # Profile Description: |
| 6 | # Profile description |
| 7 | # |
| 8 | # Profile ID: xccdf_moc.elpmaxe.www_profile_common |
| 9 | # Benchmark ID: xccdf_moc.elpmaxe.www_benchmark_test |
| 10 | # Benchmark Version: 1.0 |
| 11 | # XCCDF Version: 1.2 |
| 12 | # |
| 13 | # $ oscap xccdf generate fix --profile xccdf_moc.elpmaxe.www_profile_common --fix-type blueprint TEST_XCCDF_FILE_NAME |
| 14 | # |
| 15 | # It attempts to fix every selected rule, even if the system is already compliant. |
| 16 | # |
| 17 | # How to apply this Blueprint: |
| 18 | # composer-cli blueprints push blueprint.toml |
| 19 | # |
| 20 | ############################################################################### |
| 21 | |
| 22 | name = "hardened_xccdf_moc.elpmaxe.www_profile_common" |
| 23 | description = "Profile title on one line" |
| 24 | version = "1.0" |
| 25 | |
| 26 | [customizations.openscap] |
| 27 | profile_id = "xccdf_moc.elpmaxe.www_profile_common" |
| 28 | # If your hardening data stream is not part of the 'scap-security-guide' package |
| 29 | # provide the absolute path to it (from the root of the image filesystem). |
| 30 | # datastream = "/usr/share/xml/scap/ssg/content/ssg-xxxxx-ds.xml" |
| 31 | |
| 32 | distro = rhel-80 |
| 33 | |
| 34 | [[packages]] |
| 35 | name = "aide" |
| 36 | version = "*" |
| 37 | |
| 38 | [[customizations.filesystem]] |
| 39 | mountpoint = "/home" |
| 40 | size = 1 |
| 41 | |
| 42 | [[customizations.filesystem]] |
| 43 | mountpoint = "/tmp" |
| 44 | size = 2 |
| 45 | |
| 46 | [customizations.kernel] |
| 47 | append = "foo=bar audit=1" |
| 48 | |
| 49 | [customizations.services] |
| 50 | enabled = ["sshd","usbguard"] |
| 51 | disabled = ["kdump"] |
| 52 | masked = ["evil"] |
| 53 |