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

Summary: Default Rhel8 scap content does not get populated on the Satellite
Product: Red Hat Satellite Reporter: Mihir Lele <mlele>
Component: SCAP PluginAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Jameer Pathan <jpathan>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.6.0CC: bbuckingham, jpathan, mhulan, oprazak
Target Milestone: 6.8.0Keywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 12:59:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1769724, 1777862    
Bug Blocks:    

Description Mihir Lele 2019-09-06 08:59:00 UTC
Description of problem:

Default Rhel8 scap content does not get populated on the Satellite

Version-Release number of selected component (if applicable): 6.6beta

How reproducible: Always

Steps to Reproduce:
1.  Run: "# foreman-rake foreman_openscap:bulk_upload:default"
2.  Then, check : "# hammer scap-content list"

Actual results:

[root@satellite ~]# hammer scap-content list
---|--------------------------------
ID | TITLE                          
---|--------------------------------
1  | Red Hat firefox default content
2  | Red Hat jre default content    
3  | Red Hat rhel6 default content  
4  | Red Hat rhel7 default content  
---|--------------------------------


Expected results:

# hammer scap-content list
---|--------------------------------
ID | TITLE                          
---|--------------------------------
1  | Red Hat firefox default content
2  | Red Hat jre default content    
3  | Red Hat rhel6 default content  
4  | Red Hat rhel7 default content  
5  | Red Hat rhel8 default content  
---|--------------------------------

Additional info:

Comment 3 Ondřej Pražák 2019-11-07 10:43:55 UTC
Created redmine issue https://projects.theforeman.org/issues/28213 from this bug

Comment 4 Ondřej Pražák 2020-07-10 07:28:11 UTC
The scap content for RHEL8 is available in 6.8, could QE verify?

Comment 7 Jameer Pathan 2020-08-10 10:05:08 UTC
Verified:

Verified with:
- Satellite 6.8.0 snap 11

Test steps:
1.  Run: "# foreman-rake foreman_openscap:bulk_upload:default"
2.  Run: "# hammer scap-content list"

hammer> scap-content list
---|--------------------------------
ID | TITLE                          
---|--------------------------------
1  | Red Hat firefox default content
2  | Red Hat jre default content    
3  | Red Hat rhel6 default content  
4  | Red Hat rhel7 default content  
5  | Red Hat rhel8 default content  
---|--------------------------------
hammer> scap-content info --id 5
Id:                    5
Title:                 Red Hat rhel8 default content
Created at:            2020-08-10 05:34:53 UTC
Original filename:     ssg-rhel8-ds.xml
SCAP content profiles: 
    Id:         33
    Profile id: xccdf_org.ssgproject.content_profile_pci-dss
    Title:      PCI-DSS v3.2.1 Control Baseline for Red Hat Enterprise Linux 8
    Id:         34
    Profile id: xccdf_org.ssgproject.content_profile_ospp
    Title:      Protection Profile for General Purpose Operating Systems
    Id:         35
    Profile id: xccdf_org.ssgproject.content_profile_e8
    Title:      Australian Cyber Security Centre (ACSC) Essential Eight
Locations:             
    Default Location
Organizations:         
    Default Organization

Comment 10 errata-xmlrpc 2020-10-27 12:59:02 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 (Important: Satellite 6.8 release), 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/RHSA-2020:4366