<?xml version='1.0' encoding='utf-8'?>
<oval-def:oval_definitions xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:unix="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd  http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd  http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd  http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd  http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd">
  <oval-def:generator>
    <oval:product_name>OVALFileLinker from SCAP Security Guide</oval:product_name>
    <oval:product_version>ssg: [0, 1, 80], python: 3.10.12</oval:product_version>
    <oval:schema_version>5.11.2</oval:schema_version>
    <oval:timestamp>2026-01-21T21:18:20</oval:timestamp>
  </oval-def:generator>
  <oval-def:definitions>
    <oval-def:definition id="oval:ssg-ensure_rtc_utc_configuration:def:1" version="1" class="compliance">
      <oval-def:metadata>
        <oval-def:title>Ensure real-time clock is set to UTC</oval-def:title>
        <oval-def:affected family="unix">
          <oval-def:platform>Ubuntu 22.04</oval-def:platform>
        </oval-def:affected>
        <oval-def:reference ref_id="ensure_rtc_utc_configuration" source="ssg" />
        <oval-def:description>Ensure RTC is using UTC as its time base</oval-def:description>
      </oval-def:metadata>
      <oval-def:criteria operator="AND">
        <oval-def:criterion comment="Check softlink exists for /etc/localtime and look for UTC pattern" test_ref="oval:ssg-test_ensure_rtc_utc_configuration:tst:1" />
      </oval-def:criteria>
    </oval-def:definition>
  </oval-def:definitions>
  <oval-def:tests>
    <unix:symlink_test id="oval:ssg-test_ensure_rtc_utc_configuration:tst:1" version="1" check="all" comment="Ensure softlink exist for localtime with UTC pattern" check_existence="all_exist" state_operator="AND">
      <unix:object object_ref="oval:ssg-object_ensure_rtc_utc_configuration:obj:1" />
      <unix:state state_ref="oval:ssg-object_ensure_symlink_utc_configuration:ste:1" />
    </unix:symlink_test>
  </oval-def:tests>
  <oval-def:objects>
    <unix:symlink_object id="oval:ssg-object_ensure_rtc_utc_configuration:obj:1" version="1" comment="object_ensure_rtc_utc_configuration">
      <unix:filepath>/etc/localtime</unix:filepath>
    </unix:symlink_object>
  </oval-def:objects>
  <oval-def:states>
    <unix:symlink_state id="oval:ssg-object_ensure_symlink_utc_configuration:ste:1" version="1" operator="AND" comment="object_ensure_symlink_utc_configuration">
      <unix:filepath>/etc/localtime</unix:filepath>
      <unix:canonical_path operation="pattern match">^(/usr)?/share/zoneinfo(/Etc)?/(GMT|UTC)$</unix:canonical_path>
    </unix:symlink_state>
  </oval-def:states>
</oval-def:oval_definitions>