Skip to content

Commit

Permalink
fix(#44045): fix custom test feed
Browse files Browse the repository at this point in the history
  • Loading branch information
Deblintrake09 committed Jul 24, 2023
1 parent 6076962 commit 325e478
Showing 1 changed file with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,15 @@
<metadata>
<title>CVE-2023 custom-package-0</title>
<affected family="unix">
<platform>Ubuntu 20.04</platform>
<platform>Ubuntu 22.04 LTS</platform>
<platform>Ubuntu 20.04 LTS</platform>
<platform>Ubuntu 18.04 LTS</platform>
<platform>Ubuntu 16.04 LTS</platform>
<platform>Ubuntu 14.04 LTS</platform>
</affected>
<reference source="CVE" ref_id="CVE-2023" ref_url="https://github.com/wazuh/wazuh-qa" />
</metadata>
<criteria>
<extend_definition definition_ref="oval:com.ubuntu.focal:def:100" comment="Ubuntu 20.04 (focal) is installed." applicability_check="true" />
<criteria operator="OR">
<criterion test_ref="oval:com.ubuntu.focal:tst:1" comment="dummy-fixed package in focal, is related to the CVE in some way and has been fixed (note: '10.0.0')." />
</criteria>
Expand All @@ -37,18 +40,12 @@
</tests>
<objects>
<linux-def:dpkginfo_object id="oval:com.ubuntu.focal:obj:1" version="1" comment="The 'dummy-fixed' package binary.">
<linux-def:name var_ref="oval:com.ubuntu.focal:var:1" var_check="at least one" />
<linux-def:name>dummy-fixed</linux-def:name>
<linux-def:name>custom-package-0</linux-def:name>
</linux-def:dpkginfo_object>
</objects>
<states>
<linux-def:dpkginfo_state id="oval:com.ubuntu.focal:ste:1" version="1" comment="The package version is less than '10.0.0'.">
<linux-def:evr datatype="debian_evr_string" operation="less than">10.0.0</linux-def:evr>
</linux-def:dpkginfo_state>
</states>
<variables>
<constant_variable id="oval:com.ubuntu.focal:var:1" version="1" datatype="string" comment="'dummy-fixed' package binaries">
<value>custom-package-0</value>
</constant_variable>
</variables>
</oval_definitions>

0 comments on commit 325e478

Please sign in to comment.