RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1777860 - OpenSCAP default CPE dictionary lacks RHEL8
Summary: OpenSCAP default CPE dictionary lacks RHEL8
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: openscap
Version: 7.7
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: rc
: ---
Assignee: Jan Černý
QA Contact: Matus Marhefka
URL:
Whiteboard:
Depends On:
Blocks: 1716354
TreeView+ depends on / blocked
 
Reported: 2019-11-28 14:05 UTC by Marek Haicman
Modified: 2020-11-14 05:58 UTC (History)
5 users (show)

Fixed In Version: openscap-1.2.17-8.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-31 20:11:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:1183 0 None None None 2020-03-31 20:11:19 UTC

Description Marek Haicman 2019-11-28 14:05:34 UTC
Description of problem:
OpenSCAP ships with its own CPE definitions. These are for example used when Atomic Scan is evaluating containers.
/usr/share/openscap/cpe/openscap-cpe-dict.xml
/usr/share/openscap/cpe/openscap-cpe-oval.xml

There is no RHEL8 entry there.

Version-Release number of selected component (if applicable):
openscap-1.2.17-4.el7.x86_64

How reproducible:
reliably

Steps to Reproduce:
1. oscap oval eval /usr/share/openscap/cpe/openscap-cpe-oval.xml | grep cpe.rhel:def:

Actual results:
Definition oval:org.open-scap.cpe.rhel:def:7: true
Definition oval:org.open-scap.cpe.rhel:def:6: false
Definition oval:org.open-scap.cpe.rhel:def:5: false
Definition oval:org.open-scap.cpe.rhel:def:1007: false
Definition oval:org.open-scap.cpe.rhel:def:1006: false
Definition oval:org.open-scap.cpe.rhel:def:1005: false
Definition oval:org.open-scap.cpe.rhel:def:1: true


Expected results:
Definition oval:org.open-scap.cpe.rhel:def:8: true
Definition oval:org.open-scap.cpe.rhel:def:7: true
Definition oval:org.open-scap.cpe.rhel:def:6: false
Definition oval:org.open-scap.cpe.rhel:def:5: false
Definition oval:org.open-scap.cpe.rhel:def:1007: false
Definition oval:org.open-scap.cpe.rhel:def:1006: false
Definition oval:org.open-scap.cpe.rhel:def:1005: false
Definition oval:org.open-scap.cpe.rhel:def:1: true


Additional info:
Fix needs to be confirmed by the `atomic scan` use case tracked in Bug 1716354

Comment 1 Marek Haicman 2019-11-28 14:06:30 UTC
Sorry, of course on RHEL7, expected outcome of RHEL8 CPE oval is `false`.

Comment 3 Jan Černý 2019-11-28 16:05:19 UTC
This has already been fixed in upstream in https://github.com/OpenSCAP/openscap/pull/1275/files.

Comment 8 errata-xmlrpc 2020-03-31 20:11:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:1183


Note You need to log in before you can comment on or make changes to this bug.