<def-group>
  <definition class="compliance" id="no_insecure_locks_exports" version="1">
    {{{ oval_metadata("Allowing insecure file locking could allow for sensitive 
      data to be viewed or edited by an unauthorized user.", rule_title=rule_title) }}}
    <criteria>
      <criterion comment="Check for insecure NFS locks in /etc/exports"
      test_ref="test_no_insecure_locks_exports" />
    </criteria>
  </definition>
  <ind:textfilecontent54_test check="all" check_existence="none_exist"
  comment="Tests the value of the insecure locks in /etc/exports"
  id="test_no_insecure_locks_exports" version="1">
    <ind:object object_ref="obj_no_insecure_locks_exports" />
  </ind:textfilecontent54_test>
  <ind:textfilecontent54_object id="obj_no_insecure_locks_exports"
  version="2">
    <ind:filepath>/etc/exports</ind:filepath>
    <ind:pattern operation="pattern match">^(.*?(\binsecure_locks\b)[^$]*)$</ind:pattern>
    <ind:instance datatype="int">1</ind:instance>
  </ind:textfilecontent54_object>
</def-group>
