<oval_definitions xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:red-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" 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#unix unix-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd">
<generator>
<oval:product_name>Oracle Errata System</oval:product_name>
<oval:product_version>Oracle Linux</oval:product_version>
<oval:schema_version>5.11</oval:schema_version>
<oval:timestamp>2026-06-25T20:53:02</oval:timestamp>
</generator>
<definitions>
<definition id="oval:com.oracle.elsa:def:202628999" version="501" class="patch">
<metadata>
<title>
ELSA-2026-28999:  postgresql:12 security update (IMPORTANT)
</title>
<affected family="unix">
<platform>Oracle Linux 8</platform>

</affected>
<reference source="elsa" ref_id="ELSA-2026-28999" ref_url="https://linux.oracle.com/errata/ELSA-2026-28999.html"/>
<reference source="CVE" ref_id="CVE-2026-6473" ref_url="https://linux.oracle.com/cve/CVE-2026-6473.html"/>
<reference source="CVE" ref_id="CVE-2026-6478" ref_url="https://linux.oracle.com/cve/CVE-2026-6478.html"/>

<description>
[12.22-6.0.1]
- Add backport of CVE-2025-8714 [Orabug: 38667546]

[12.22-6]
- Fix CVE-2026-2004 CVE-2026-2005 CVE-2026-2006

[12.22-5]
- Fix previous Backport

[12.22-4]
- Backport CVE-2025-8715

[12.22-3]
- Fix backport for CVE-2025-1094

[12.22-2]
- Backport fix for CVE-2025-1094

[12.22-1]
- Update to 12.22
- Fixes: CVE-2024-10976 CVE-2024-10978

[12.20-1]
- Update to 12.20
- Fix CVE-2024-7348

[12.18-1]
- Update to 12.18
- Fix CVE-2024-0985

[12.17-1]
- Update to version 12.17
  Fix: CVE-2023-5868, CVE-2023-5869, CVE-2023-5870
</description>
<!--
 ~~~~~~~~~~~~~~~~~~~~   advisory details   ~~~~~~~~~~~~~~~~~~~ 
-->
<advisory>
<severity>IMPORTANT</severity>
<rights>Copyright 2026 Oracle, Inc.</rights>
<issued date="2026-06-25"/>
<cve cvss3="8.8/CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" href="https://linux.oracle.com/cve/CVE-2026-6473.html" public="20260514">CVE-2026-6473</cve>
<cve cvss3="8.2/CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N" href="https://linux.oracle.com/cve/CVE-2026-6478.html" public="20260514">CVE-2026-6478</cve>

<affected_cpe_list>
<cpe>cpe:/a:oracle:linux:8::appstream</cpe>
</affected_cpe_list>
</advisory>
</metadata>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999001" comment="Oracle Linux 8 is installed"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999002" comment="Oracle Linux arch is aarch64"/>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999003" comment="Module postgresql:12 is enabled"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999004" comment="postgresql is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202628999005" comment="postgresql is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999006" comment="postgresql-contrib is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202628999007" comment="postgresql-contrib is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999008" comment="postgresql-docs is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202628999009" comment="postgresql-docs is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999010" comment="postgresql-plperl is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202628999011" comment="postgresql-plperl is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999012" comment="postgresql-plpython3 is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202628999013" comment="postgresql-plpython3 is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999014" comment="postgresql-pltcl is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202628999015" comment="postgresql-pltcl is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999016" comment="postgresql-server is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202628999017" comment="postgresql-server is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999018" comment="postgresql-server-devel is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202628999019" comment="postgresql-server-devel is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999020" comment="postgresql-static is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202628999021" comment="postgresql-static is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999022" comment="postgresql-test is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202628999023" comment="postgresql-test is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999024" comment="postgresql-test-rpm-macros is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202628999025" comment="postgresql-test-rpm-macros is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999026" comment="postgresql-upgrade is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202628999027" comment="postgresql-upgrade is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999028" comment="postgresql-upgrade-devel is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202628999029" comment="postgresql-upgrade-devel is signed with the Oracle Linux 8 key"/>
</criteria>
</criteria>
</criteria>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999030" comment="Oracle Linux arch is x86_64"/>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999003" comment="Module postgresql:12 is enabled"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999004" comment="postgresql is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202628999005" comment="postgresql is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999006" comment="postgresql-contrib is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202628999007" comment="postgresql-contrib is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999008" comment="postgresql-docs is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202628999009" comment="postgresql-docs is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999010" comment="postgresql-plperl is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202628999011" comment="postgresql-plperl is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999012" comment="postgresql-plpython3 is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202628999013" comment="postgresql-plpython3 is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999014" comment="postgresql-pltcl is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202628999015" comment="postgresql-pltcl is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999016" comment="postgresql-server is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202628999017" comment="postgresql-server is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999018" comment="postgresql-server-devel is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202628999019" comment="postgresql-server-devel is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999020" comment="postgresql-static is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202628999021" comment="postgresql-static is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999022" comment="postgresql-test is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202628999023" comment="postgresql-test is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999024" comment="postgresql-test-rpm-macros is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202628999025" comment="postgresql-test-rpm-macros is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999026" comment="postgresql-upgrade is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202628999027" comment="postgresql-upgrade is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202628999028" comment="postgresql-upgrade-devel is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202628999029" comment="postgresql-upgrade-devel is signed with the Oracle Linux 8 key"/>
</criteria>
</criteria>
</criteria>
</criteria>
</criteria>
</criteria>

</definition>
</definitions>
<!--
 ~~~~~~~~~~~~~~~~~~~~~   rpminfo tests   ~~~~~~~~~~~~~~~~~~~~~ 
-->
<tests>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999001"  version="501" comment="Oracle Linux 8 is installed" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999001" />
<state state_ref="oval:com.oracle.elsa:ste:202628999003" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999002"  version="501" comment="Oracle Linux arch is aarch64" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999001" />
<state state_ref="oval:com.oracle.elsa:ste:202628999004" />
</rpminfo_test>
<ind-def:textfilecontent54_test id="oval:com.oracle.elsa:tst:202628999003"  version="501" comment="Module postgresql:12 is enabled" check="all" >
<ind-def:object object_ref="oval:com.oracle.elsa:obj:202628999015" />
<ind-def:state state_ref="oval:com.oracle.elsa:ste:202628999002" />
</ind-def:textfilecontent54_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999004"  version="501" comment="postgresql is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999002" />
<state state_ref="oval:com.oracle.elsa:ste:202628999005" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999005"  version="501" comment="postgresql is signed with the Oracle Linux 8 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999002" />
<state state_ref="oval:com.oracle.elsa:ste:202628999001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999006"  version="501" comment="postgresql-contrib is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999003" />
<state state_ref="oval:com.oracle.elsa:ste:202628999005" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999007"  version="501" comment="postgresql-contrib is signed with the Oracle Linux 8 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999003" />
<state state_ref="oval:com.oracle.elsa:ste:202628999001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999008"  version="501" comment="postgresql-docs is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999004" />
<state state_ref="oval:com.oracle.elsa:ste:202628999005" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999009"  version="501" comment="postgresql-docs is signed with the Oracle Linux 8 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999004" />
<state state_ref="oval:com.oracle.elsa:ste:202628999001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999010"  version="501" comment="postgresql-plperl is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999005" />
<state state_ref="oval:com.oracle.elsa:ste:202628999005" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999011"  version="501" comment="postgresql-plperl is signed with the Oracle Linux 8 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999005" />
<state state_ref="oval:com.oracle.elsa:ste:202628999001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999012"  version="501" comment="postgresql-plpython3 is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999006" />
<state state_ref="oval:com.oracle.elsa:ste:202628999005" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999013"  version="501" comment="postgresql-plpython3 is signed with the Oracle Linux 8 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999006" />
<state state_ref="oval:com.oracle.elsa:ste:202628999001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999014"  version="501" comment="postgresql-pltcl is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999007" />
<state state_ref="oval:com.oracle.elsa:ste:202628999005" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999015"  version="501" comment="postgresql-pltcl is signed with the Oracle Linux 8 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999007" />
<state state_ref="oval:com.oracle.elsa:ste:202628999001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999016"  version="501" comment="postgresql-server is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999008" />
<state state_ref="oval:com.oracle.elsa:ste:202628999005" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999017"  version="501" comment="postgresql-server is signed with the Oracle Linux 8 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999008" />
<state state_ref="oval:com.oracle.elsa:ste:202628999001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999018"  version="501" comment="postgresql-server-devel is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999009" />
<state state_ref="oval:com.oracle.elsa:ste:202628999005" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999019"  version="501" comment="postgresql-server-devel is signed with the Oracle Linux 8 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999009" />
<state state_ref="oval:com.oracle.elsa:ste:202628999001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999020"  version="501" comment="postgresql-static is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999010" />
<state state_ref="oval:com.oracle.elsa:ste:202628999005" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999021"  version="501" comment="postgresql-static is signed with the Oracle Linux 8 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999010" />
<state state_ref="oval:com.oracle.elsa:ste:202628999001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999022"  version="501" comment="postgresql-test is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999011" />
<state state_ref="oval:com.oracle.elsa:ste:202628999005" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999023"  version="501" comment="postgresql-test is signed with the Oracle Linux 8 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999011" />
<state state_ref="oval:com.oracle.elsa:ste:202628999001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999024"  version="501" comment="postgresql-test-rpm-macros is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999012" />
<state state_ref="oval:com.oracle.elsa:ste:202628999005" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999025"  version="501" comment="postgresql-test-rpm-macros is signed with the Oracle Linux 8 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999012" />
<state state_ref="oval:com.oracle.elsa:ste:202628999001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999026"  version="501" comment="postgresql-upgrade is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999013" />
<state state_ref="oval:com.oracle.elsa:ste:202628999005" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999027"  version="501" comment="postgresql-upgrade is signed with the Oracle Linux 8 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999013" />
<state state_ref="oval:com.oracle.elsa:ste:202628999001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999028"  version="501" comment="postgresql-upgrade-devel is earlier than 0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999014" />
<state state_ref="oval:com.oracle.elsa:ste:202628999005" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999029"  version="501" comment="postgresql-upgrade-devel is signed with the Oracle Linux 8 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999014" />
<state state_ref="oval:com.oracle.elsa:ste:202628999001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202628999030"  version="501" comment="Oracle Linux arch is x86_64" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202628999001" />
<state state_ref="oval:com.oracle.elsa:ste:202628999006" />
</rpminfo_test>

</tests>
<!--
 ~~~~~~~~~~~~~~~~~~~~   rpminfo objects   ~~~~~~~~~~~~~~~~~~~~ 
-->
<objects>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202628999007" version="501">
<name>postgresql-pltcl</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202628999006" version="501">
<name>postgresql-plpython3</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202628999001" version="501">
<name>oraclelinux-release</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202628999009" version="501">
<name>postgresql-server-devel</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202628999012" version="501">
<name>postgresql-test-rpm-macros</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202628999003" version="501">
<name>postgresql-contrib</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202628999013" version="501">
<name>postgresql-upgrade</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202628999011" version="501">
<name>postgresql-test</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202628999014" version="501">
<name>postgresql-upgrade-devel</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202628999002" version="501">
<name>postgresql</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202628999008" version="501">
<name>postgresql-server</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202628999010" version="501">
<name>postgresql-static</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202628999004" version="501">
<name>postgresql-docs</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202628999005" version="501">
<name>postgresql-plperl</name>
</rpminfo_object>
<ind-def:textfilecontent54_object id="oval:com.oracle.elsa:obj:202628999015" version="641">
 <ind-def:filepath datatype="string">/etc/dnf/modules.d/postgresql.module</ind-def:filepath>
 <ind-def:pattern operation="pattern match">\[postgresql\][\w\W]*</ind-def:pattern>
 <ind-def:instance datatype="int">1</ind-def:instance>
</ind-def:textfilecontent54_object>
</objects>
<states>
<!--
 ~~~~~~~~~~~~~~~~~~~~   rpminfo states   ~~~~~~~~~~~~~~~~~~~~~ 
-->
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202628999001" version="501">
<signature_keyid operation="equals">82562ea9ad986da3</signature_keyid>
</rpminfo_state>
<ind-def:textfilecontent54_state id="oval:com.oracle.elsa:ste:202628999002" version="641">
 <ind-def:text operation="pattern match">\nstream\s*=\s*12\b[\w\W]*\nstate\s*=\s*(enabled|1|true)|\nstate\s*=\s*(enabled|1|true)[\w\W]*\nstream\s*=\s*12\b</ind-def:text>
</ind-def:textfilecontent54_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202628999003" version="501">
<version operation="pattern match">^8</version>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202628999004" version="501">
<arch operation="pattern match">aarch64</arch>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202628999005" version="501">
<evr datatype="evr_string" operation="less than">0:12.22-6.0.1.module+el8.10.0+90932+f6d78e3c</evr>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202628999006" version="501">
<arch operation="pattern match">x86_64</arch>
</rpminfo_state>

</states>
</oval_definitions>
