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 2053587

Summary: Profile ANSSI Enhanced is missing the rule selinux_state
Product: Red Hat Enterprise Linux 8 Reporter: Watson Yuuma Sato <wsato>
Component: scap-security-guideAssignee: Watson Yuuma Sato <wsato>
Status: CLOSED ERRATA QA Contact: Milan Lysonek <mlysonek>
Severity: unspecified Docs Contact: Khushbu Borole <kborole>
Priority: unspecified    
Version: 8.5CC: ggasparb, kborole, 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.60-2.el8 Doc Type: Bug Fix
Doc Text:
.ANSSI Enhanced Profile correctly selects the "Ensure SELinux State is Enforcing" rule Previously, the ANSSI Enhanced profile (`anssi_bp28_enhanced`) did not select the "Ensure SELinux State is Enforcing" (`selinux_state`) rule. This update modified the rule selection and now the ANSSI Enhanced Profile selects the "Ensure SELinux State is Enforcing" rule.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-10 14:15:29 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:
Deadline: 2022-02-14   

Description Watson Yuuma Sato 2022-02-11 14:52:06 UTC
Description of problem:
Profile anssi_bp28_enhanced doesn't select rule 'selinux_state'.
But the lower (anssi_bp28_intermediary) and higher (anssi_bp28_high) level hardening profiles select the rule.


Version-Release number of selected component (if applicable):
scap-security-guide-0.1.57-5.el8


How reproducible:
Always


Steps to Reproduce:
1. oscap xccdf eval --profile anssi_bp28_enhanced /usr/share/xml/scap/ssg/content/ssg-rhel8-ds.xml

Actual results:
Rule selinux_state is not evaluated on a scan with 'anssi_bp28_enhanced'.

Expected results:
Rule selinux_state should be evaluated when profile 'anssi_bp28_enhanced' is scanned.

Additional info:

Comment 2 Watson Yuuma Sato 2022-02-11 16:16:12 UTC
https://github.com/ComplianceAsCode/content/pull/8182

Comment 9 errata-xmlrpc 2022-05-10 14:15:29 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 and enhancement 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-2022:1900