<def-group>
  <definition class="compliance" id="chromium_disable_session_cookies"  version="1">
    <metadata>
      <title>Disable Per Session Cookies</title>
      <affected family="unix">
        <platform>Google Chromium Browser</platform>
      </affected>
      <description>Session only based cookies must be disabled.</description>
    </metadata>
    <criteria>
      <criterion comment="Chromium disable per session cookies" test_ref="test_chromium_disable_session_cookies" />
    </criteria>
  </definition>

  <ind:textfilecontent54_test check="all" comment="Chromium disable per session cookies" id="test_chromium_disable_session_cookies" version="1">
    <ind:object object_ref="object_chromium_disable_session_cookies" />
  </ind:textfilecontent54_test>
  <ind:textfilecontent54_object id="object_chromium_disable_session_cookies" version="1">
    <ind:filepath operation="pattern match">/etc/chromium/policies/managed/.*\.json</ind:filepath>
    <ind:pattern operation="pattern match">^[\s]+\"CookiesSessionOnlyForUrls\"\:[\s]+\[\"(none|)"\],</ind:pattern>
    <ind:instance datatype="int">1</ind:instance>
  </ind:textfilecontent54_object>
</def-group>
