<def-group>
  <definition class="compliance" id="ftp_present_banner" version="1">
    <metadata>
      <title>Banner for FTP Users</title>
      <affected family="unix">
        <platform>multi_platform_all</platform>
      </affected>
      <description>This setting will cause the system greeting banner to be 
      used for FTP connections as well.</description>
      <reference source="galford" ref_id="20140812" ref_url="test_attestation" />
    </metadata>
    <criteria operator="OR">
      <extend_definition comment="vsftpd package is not installed" negate="true" definition_ref="package_vsftpd_installed" />
      <criterion comment="Banner for FTP Users" test_ref="test_ftp_present_banner" />
    </criteria>
  </definition>

  <ind:textfilecontent54_test check="all" check_existence="all_exist" comment="Banner for FTP Users" id="test_ftp_present_banner" version="1">
    <ind:object object_ref="object_test_ftp_present_banner" />
  </ind:textfilecontent54_test>
  <ind:textfilecontent54_object comment="Banner for FTP Users" id="object_test_ftp_present_banner" version="1">
    <ind:filepath>/etc/vsftpd/vsftpd.conf</ind:filepath>
    <ind:pattern operation="pattern match">^[\s]*banner_file[\s]*=[\s]*/etc/issue*$</ind:pattern>
    <ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
  </ind:textfilecontent54_object>
</def-group>

