<def-group>
  <definition class="compliance" id="chromium_disable_search_suggestions"  version="1">
    <metadata>
      <title>Disable Search Suggestopms</title>
      <affected family="unix">
        <platform>Google Chromium Browser</platform>
      </affected>
      <description>Search suggestions must be disabled.</description>
    </metadata>
    <criteria>
      <criterion comment="Chromium disable search suggestions" test_ref="test_chromium_disable_search_suggestions" />
    </criteria>
  </definition>

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