| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <xccdf:Benchmark xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="xccdf_cdf_benchmark_scap-fedora14-xccdf.xml" resolved="1" style="SCAP_1.2" xml:lang="en" xsi:schemaLocation="http://checklists.nist.gov/xccdf/1.2 http://scap.nist.gov/schema/xccdf/1.2/xccdf_1.2.xsd http://cpe.mitre.org/dictionary/2.0 http://scap.nist.gov/schema/cpe/2.3/cpe-dictionary_2.3.xsd"> |
| 3 | <xccdf:status date="2011-10-12">draft</xccdf:status> |
| 4 | <xccdf:title>Example of SCAP Security Guidance</xccdf:title> |
| 5 | <xccdf:description>This example security guidance has been created to demonstrate SCAP functionality |
| 6 | on Linux.</xccdf:description> |
| 7 | <xccdf:version>0.1</xccdf:version> |
| 8 | <xccdf:model system="urn:xccdf:scoring:default"/> |
| 9 | <xccdf:model system="urn:xccdf:scoring:flat"/> |
| 10 | <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.1.1"> |
| 11 | <xccdf:title xml:lang="en">Create Separate Partition or Logical Volume for /tmp</xccdf:title> |
| 12 | <xccdf:description xml:lang="en"> |
| 13 | The /tmp directory is a world-writable directory used for |
| 14 | temporary file storage. Ensure that it has its own partition or logical volume.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/> |
| 15 | <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/> |
| 16 | Because software may need to use /tmp to temporarily store large files, ensure |
| 17 | that it is of adequate size. For a modern, general-purpose system, 10GB should be adequate. Smaller or larger sizes could be used, depending on |
| 18 | the availability of space on the drive and the system’s operating requirements |
| 19 | </xccdf:description> |
| 20 | <xccdf:Rule id="xccdf_cdf_rule_first-oval" selected="true" weight="10.0"> |
| 21 | <xccdf:title xml:lang="en">Ensure that /tmp has its own partition or logical volume</xccdf:title> |
| 22 | <xccdf:description xml:lang="en">The /tmp directory is a world-writable directory used for temporary file storage. Ensure that it has its own partition or logical volume.</xccdf:description> |
| 23 | <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 24 | <xccdf:check-content-ref href="first-oval.xml" name="oval:org.open-scap.f14:def:20000"/> |
| 25 | </xccdf:check> |
| 26 | </xccdf:Rule> |
| 27 | <xccdf:Rule id="xccdf_cdf_rule_second-oval" selected="true" weight="10.0"> |
| 28 | <xccdf:title xml:lang="en">Ensure that /tmp has its own partition or logical volume</xccdf:title> |
| 29 | <xccdf:description xml:lang="en">The /tmp directory is a world-writable directory used for temporary file storage. Ensure that it has its own partition or logical volume.</xccdf:description> |
| 30 | <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 31 | <xccdf:check-content-ref href="second-oval.xml" name="oval:org.open-scap.f14:def:20001"/> |
| 32 | </xccdf:check> |
| 33 | </xccdf:Rule> |
| 34 | </xccdf:Group> |
| 35 | </xccdf:Benchmark> |