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 1888915 - [RFE] Provide CIS /C2S profile for scanning RHEL7 based UBI images
Summary: [RFE] Provide CIS /C2S profile for scanning RHEL7 based UBI images
Keywords:
Status: CLOSED DUPLICATE of bug 1821633
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: scap-security-guide
Version: 7.9
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Vojtech Polasek
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On: 1760734 1888722
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-16 08:49 UTC by Emmanuel Kasper
Modified: 2024-03-25 16:44 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1888722
Environment:
Last Closed: 2020-12-01 14:19:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 4 Marek Haicman 2020-12-01 14:19:19 UTC
Hello.
CIS profile has been already released in this major version of RHEL. And all our profiles do support container scanning, via identifying a subset of rules from the machine profile to be applied, if container is scanned using `oscap-podman` or `oscap-docker`.

One issue I have noticed in the preceding discussion is the file used. Unfortunately, for this very reason, we strongly discourage users from using xccdf file that is being shipped in the RPM. For the container scanning (or any scanning since the container scanning has been introduced few years back) to work as intended, you need to consume also accompanying cpe dictionary and cpe oval. While this can be done on the command line, there is much safer and "properer" solution - use the data stream file as a source data. I.e. ssg-rhel7-ds.xml. This way, the scanning will work correctly.

Also please note - even though our RPMs contain content for other major releases, it's still the recommended way to grab the data stream from the respective "native" RPM. I.e. use `ssg-rhel7-ds.xml` from RHEL7, and use `ssg-rhel8-ds.xml` from RHEL8, unless there is no other technical option :)

I am going to mark this BZ as a duplicate to the original bug we based our CIS inclusion on. If you have any questions, don't hesitate and reach out to me :)

Regards,
Marek

*** This bug has been marked as a duplicate of bug 1821633 ***


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