<def-group>
  <definition class="compliance" id="logwatch_configured_hostlimit" version="1">
    {{{ oval_metadata("Test if HostLimit line in logwatch.conf is set appropriately.") }}}
    <criteria operator="AND">
      <criterion comment="Test value of HostLimit" test_ref="test_logwatch_configured_hostlimit" />
    </criteria>
  </definition>

  <ind:textfilecontent54_test check="all" check_existence="all_exist" comment="Test HostLimit" id="test_logwatch_configured_hostlimit" version="1">
    <ind:object object_ref="object_logwatch_configured_hostlimit" />
  </ind:textfilecontent54_test>
  <ind:textfilecontent54_object id="object_logwatch_configured_hostlimit" version="1">
    <ind:filepath>/etc/logwatch/conf/logwatch.conf</ind:filepath>
    <ind:pattern operation="pattern match">^[\s]HostLimit[\s]*=[\s]*no[\s]*$</ind:pattern>
    <ind:instance datatype="int">1</ind:instance>
  </ind:textfilecontent54_object>

</def-group>
