<def-group>
  <definition class="compliance" id="snmpd_not_default_password" version="2">
    {{{ oval_metadata("SNMP default communities must be removed.") }}}
    <criteria>
      <criterion comment="SNMP communities" test_ref="test_snmp_default_communities" />
    </criteria>
  </definition>
  <ind:textfilecontent54_test check="all" check_existence="none_exist" comment="Check snmpd configuration" id="test_snmp_default_communities" version="1">
    <ind:object object_ref="object_snmp_default_communities" />
  </ind:textfilecontent54_test>
  <ind:textfilecontent54_object id="object_snmp_default_communities" version="1">
    <ind:filepath>/etc/snmp/snmpd.conf</ind:filepath>
    <ind:pattern operation="pattern match">^((?!#).)*(public|private).*</ind:pattern>
    <ind:instance datatype="int">1</ind:instance>
  </ind:textfilecontent54_object>
</def-group>
