<def-group>
  <definition class="inventory"
  id="installed_app_is_chromium" version="1">
    <metadata>
      <title>Google Chromium Browser</title>
      <affected family="unix">
        <product>Google Chromium Browser</product>
      </affected>
      <reference ref_id="cpe:/a:google:chromium-browser"
      source="CPE" />
      <description>The application installed on the system is the Google Chromium Browser</description>
       </metadata>
    <criteria>
      <criterion comment="Installed operating system is part of the unix family"
      test_ref="test_unix_family" />
      <criteria operator="OR">
        <criterion comment="Chromium is installed"
        test_ref="test_chromium-browser_installed" />
        <criterion comment="Chromium is installed"
        test_ref="test_chromium_installed" />
      </criteria>
    </criteria>
  </definition>

  <ind:family_test check="all" check_existence="at_least_one_exists" comment="installed OS part of unix family" id="test_unix_family" version="1">
    <ind:object object_ref="obj_unix_family" />
    <ind:state state_ref="state_unix_family" />
  </ind:family_test>
  <ind:family_state id="state_unix_family" version="1">
    <ind:family>unix</ind:family>
  </ind:family_state>
  <ind:family_object id="obj_unix_family" version="1" />

  <linux:rpminfo_test check="all" check_existence="at_least_one_exists" comment="Chromium is installed" id="test_chromium-browser_installed" version="1">
    <linux:object object_ref="obj_chromium-browser_installed" />
  </linux:rpminfo_test>
  <linux:rpminfo_object id="obj_chromium-browser_installed" version="1">
    <linux:name>chromium-browser</linux:name>
  </linux:rpminfo_object>

  <linux:rpminfo_test check="all" check_existence="at_least_one_exists" comment="Chromium is installed" id="test_chromium_installed" version="1">
    <linux:object object_ref="obj_chromium_installed" />
  </linux:rpminfo_test>
  <linux:rpminfo_object id="obj_chromium_installed" version="1">
    <linux:name>chromium</linux:name>
  </linux:rpminfo_object>
</def-group>
