This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite 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 "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. 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 "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-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 2176122 - Default RHEL9 SCAP content does not get populated on the Satellite
Summary: Default RHEL9 SCAP content does not get populated on the Satellite
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: SCAP Plugin
Version: 6.13.0
Hardware: All
OS: Linux
unspecified
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: visawant
URL:
Whiteboard:
Depends On:
Blocks: 2226766
TreeView+ depends on / blocked
 
Reported: 2023-03-07 12:52 UTC by Gaurav Talreja
Modified: 2024-06-06 16:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-06-06 16:10:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker   SAT-19336 0 None Migrated None 2024-06-06 16:10:29 UTC

Description Gaurav Talreja 2023-03-07 12:52:37 UTC
Description of problem:


Version-Release number of selected component (if applicable):
Satellite 6.13.0 Snap 13.0

How reproducible:


Steps to Reproduce:
1. # hammer scap-content list
---|---------------------------------|-----------------------------------------------------------------
ID | TITLE                           | DIGEST
---|---------------------------------|-----------------------------------------------------------------
1  | Red Hat firefox default content | 654f841b9386f771d3999f855f28bfed01e2be4036774103e822950c1e4230aa
2  | Red Hat rhel6 default content   | 6298742afc45309f86ac467c0c9a3e433ff505dd3d237dd8cbf72be1a02937bb
3  | Red Hat rhel7 default content   | 96c2a9d5278d5da905221bbb2dc61d0ace7ee3d97f021fccac994d26296d986d
4  | Red Hat rhel8 default content   | b7772a4001f865517e30762c406dee80fdab2100ecc010f4408519a979665f6e
---|---------------------------------|-----------------------------------------------------------------


Actual results:
No RHEL9 SCAP default content is available

Expected results:
RHEL9 SCAP default content is available

Additional info:

Comment 1 Marek Hulan 2023-03-07 13:54:25 UTC
Hi, is it present in the scap-security-guide package on RHEL 8? Note that we only take content from that RPM and I wouldn't expect RHEL 9 content in RHEL 8. If you have RHEL 9 machine around, get the DS file from there and upload it to Satellite as a new SCAP content. It should auto-populate when Satellite is ported to RHEL 9.

Comment 3 Marek Hulan 2023-03-09 10:57:35 UTC
You need to get the rhel 9 content from the rhel 9 scap-security-guide.  I'd recommend closing this as not a bug, do you agree?

Comment 4 Gaurav Talreja 2023-03-28 12:10:05 UTC
Hi, 

I tried on the 6.10.7.2 release which was completely on rhel7, but we had rhel6 and rhel8 contents as defaults there, so not sure if this is specific to the OS release of Satellite and I thought it is for the supported content hosts, correct me, please?

# rpm -qa | grep scap-security-guide
scap-security-guide-0.1.63-1.el7_9.noarch

#  ls /usr/share/xml/scap/ssg/content/
ssg-firefox-cpe-dictionary.xml  ssg-jre-ds-1.2.xml            ssg-rhel6-ocil.xml            ssg-rhel7-xccdf.xml
ssg-firefox-cpe-oval.xml        ssg-jre-ds.xml                ssg-rhel6-oval.xml            ssg-rhel8-cpe-dictionary.xml
ssg-firefox-ds-1.2.xml          ssg-jre-ocil.xml              ssg-rhel6-xccdf.xml           ssg-rhel8-cpe-oval.xml
ssg-firefox-ds.xml              ssg-jre-oval.xml              ssg-rhel7-cpe-dictionary.xml  ssg-rhel8-ds-1.2.xml
ssg-firefox-ocil.xml            ssg-jre-xccdf.xml             ssg-rhel7-cpe-oval.xml        ssg-rhel8-ds.xml
ssg-firefox-oval.xml            ssg-rhel6-cpe-dictionary.xml  ssg-rhel7-ds-1.2.xml          ssg-rhel8-ocil.xml
ssg-firefox-xccdf.xml           ssg-rhel6-cpe-oval.xml        ssg-rhel7-ds.xml              ssg-rhel8-oval.xml
ssg-jre-cpe-dictionary.xml      ssg-rhel6-ds-1.2.xml          ssg-rhel7-ocil.xml            ssg-rhel8-xccdf.xml
ssg-jre-cpe-oval.xml            ssg-rhel6-ds.xml              ssg-rhel7-oval.xml

# hammer scap-content list
---|---------------------------------|-----------------------------------------------------------------
ID | TITLE                           | DIGEST
---|---------------------------------|-----------------------------------------------------------------
1  | Red Hat firefox default content | 654f841b9386f771d3999f855f28bfed01e2be4036774103e822950c1e4230aa
2  | Red Hat jre default content     | fe93f99c14251cc76e92b9da71c351c8ba45fbd3639a2cd55911ef6f7db1b650
3  | Red Hat rhel6 default content   | 6298742afc45309f86ac467c0c9a3e433ff505dd3d237dd8cbf72be1a02937bb
4  | Red Hat rhel7 default content   | 96c2a9d5278d5da905221bbb2dc61d0ace7ee3d97f021fccac994d26296d986d
5  | Red Hat rhel8 default content   | b7772a4001f865517e30762c406dee80fdab2100ecc010f4408519a979665f6e
---|---------------------------------|-----------------------------------------------------------------


And, btw, there is a recent PR I found and missed including earlier in the description, that introduces rhel9 profiles https://github.com/ComplianceAsCode/content/pull/10091/, not sure if it's packaged in a scap-security-guide package for RHEL/Satellite?


Thanks, 
Gaurav

Comment 5 Brad Buckingham 2023-03-30 14:23:43 UTC
Marek,

Based upon the feedback in comment 4, would this still be considered notabug?

I assume so, if it is a case of the mentioned PR being needed to include the rhel9 profile.

Thanks!

Comment 6 Marek Hulan 2023-03-30 18:12:24 UTC
We know scap-security-guide package contains also content for other RHEL version, but based on the OpenSCAP team response, this is not supported combination. For RHEL 8, one needs to get the content from RHEL8's scap-security-guide, similarly for 7 and 9.

Therefore, I think we should close this as not a bug.

Comment 7 Brad Buckingham 2023-04-03 13:27:57 UTC
Thanks Marek.

Closing based upon comment 6.

Comment 17 Eric Helms 2024-06-06 16:10:30 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "SAT-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.


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