<def-group>
  <definition class="compliance" id="chromium_disable_autocomplete"  version="1">
    <metadata>
      <title>Disable Autocomplete For Forms</title>
      <affected family="unix">
        <platform>Google Chromium Browser</platform>
      </affected>
      <description>AutoFill must be disabled.</description>
    </metadata>
    <criteria>
      <criterion comment="Chromium disable autocomplete for forms" test_ref="test_chromium_disable_autocomplete" />
    </criteria>
  </definition>

  <ind:textfilecontent54_test check="all" comment="Chromium disable autocomplete for forms" id="test_chromium_disable_autocomplete" version="1">
    <ind:object object_ref="object_chromium_disable_autocomplete" />
  </ind:textfilecontent54_test>
  <ind:textfilecontent54_object id="object_chromium_disable_autocomplete" version="1">
    <ind:filepath operation="pattern match">^/etc/chromium/policies/managed/.*\.json$</ind:filepath>
    <ind:pattern operation="pattern match">^\{([^\n]*\n+)+[\s]+\"AutoFillEnabled\"\:[\s]+false,</ind:pattern>
    <ind:instance datatype="int">1</ind:instance>
  </ind:textfilecontent54_object>
</def-group>
