Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2223817

Summary: Remote resource referenced from datastream is missing https://access.redhat.com/security/data/oval/com.redhat.rhsa-RHEL7.xml.bz2
Product: Red Hat Enterprise Linux 7 Reporter: Flos Qi Guo <qguo>
Component: scap-security-guideAssignee: Vojtech Polasek <vpolasek>
Status: CLOSED ERRATA QA Contact: Milan Lysonek <mlysonek>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.9CC: ggasparb, jcerny, jjaburek, mhaicman, mlysonek, wsato
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: scap-security-guide-0.1.69-1.el7_9 Doc Type: Bug Fix
Doc Text:
.Red Hat CVE feeds have been moved The version 1 of Red Hat CVE feeds at https://access.redhat.com/security/data/oval/ has been sunset and replaced by the version 2 of the CVE feeds located at https://access.redhat.com/security/data/oval/v2/. Consequently, the links in SCAP source data streams provided by the `scap-security-guide` package have been updated to link the new version of the Red Hat CVE feeds.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-29 09:30:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Flos Qi Guo 2023-07-19 04:13:24 UTC
This bug was initially created as a copy of Bug #2222583

I am copying this bug because:
This issue also affects RHEL7.


Description of problem:
When trying to scan with ssg-rhel7-ds profile, the remote resource is not available anymore on Red Hat web site:

-----------8< -----------8< -----------8< -----------8< -----------8< -----------
# oscap info /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml 2>&1 | grep 'WARNING:'
WARNING: Datastream component 'scap_org.open-scap_cref_security-data-oval-com.redhat.rhsa-RHEL7.xml.bz2' points out to the remote 'https://access.redhat.com/security/data/oval/com.redhat.rhsa-RHEL7.xml.bz2'. Use '--fetch-remote-resources' option to download it.
WARNING: Skipping 'https://access.redhat.com/security/data/oval/com.redhat.rhsa-RHEL7.xml.bz2' file which is referenced from datastream
-----------8< -----------8< -----------8< -----------8< -----------8< -----------

File not found:
-----------8< -----------8< -----------8< -----------8< -----------8< -----------
# curl -s -I -w "%{http_code}" 'https://access.redhat.com/security/data/oval/com.redhat.rhsa-RHEL7.xml.bz2' -o /dev/null
404
-----------8< -----------8< -----------8< -----------8< -----------8< -----------

Only V2 version are available in https://access.redhat.com/security/data/oval

Why the old versions have been removed, even if they are not updated anymore, they are needed for previous packages.

> Version-Release number of selected component (if applicable):
scap-security-guide-0.1.66-1.el7_9.noarch

> How reproducible:
always

> Steps to Reproduce:
1. yum install scap-security-guide.noarch
2. run command
# oscap info /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml
3.

> Actual results:
Profile not updated

> Expected results:
Remote ressource available on Red Hat web site

> Additional info:
This issue affects all OSCAP user of RHEL7.

Comment 3 Vojtech Polasek 2023-07-20 09:27:01 UTC
Fixed upstream: https://github.com/ComplianceAsCode/content/pull/10842

Comment 15 errata-xmlrpc 2023-08-29 09:30:48 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 (scap-security-guide bug fix update), 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-2023:4824