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 2058154 - Make rule audit_access_success in OSPP profile unenforcing
Summary: Make rule audit_access_success in OSPP profile unenforcing
Keywords:
Status: CLOSED ERRATA
Alias: None
Deadline: 2022-07-11
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: scap-security-guide
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jan Černý
QA Contact: Milan Lysonek
URL:
Whiteboard:
Depends On:
Blocks: 2117609
TreeView+ depends on / blocked
 
Reported: 2022-02-24 12:14 UTC by Jan Pazdziora (Red Hat)
Modified: 2022-11-15 11:27 UTC (History)
9 users (show)

Fixed In Version: scap-security-guide-0.1.62-2.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2117609 (view as bug list)
Environment:
Last Closed: 2022-11-15 10:25:25 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-113660 0 None None None 2022-02-24 12:26:43 UTC
Red Hat Product Errata RHBA-2022:8131 0 None None None 2022-11-15 10:25:52 UTC

Description Jan Pazdziora (Red Hat) 2022-02-24 12:14:10 UTC
Description of problem:

The rule audit_access_success causes huge amounts of audit events to be generated. It should be turned to unenforcing by default in the OSPP SCAP profile.

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

scap-security-guide-0.1.60-4.el9

How reproducible:

Deterministic.

Steps to Reproduce:
1. Check /etc/audit/rules.d/30-ospp-v42-3-access-success.rules does not exist:
   # ls -la /etc/audit/rules.d
2. Remediate system using OSPP profile:
   # oscap xccdf eval --remediate --profile xccdf_org.ssgproject.content_profile_ospp /usr/share/xml/scap/ssg/content/ssg-rhel9-ds.xml
3. Check if the file got created:
   # ls -la /etc/audit/rules.d/30-ospp-v42-3-access-success.rules

Actual results:

-rw-r-----. 1 root root 399 Feb 24 07:11 /etc/audit/rules.d/30-ospp-v42-3-access-success.rules

Expected results:

ls: cannot access '/etc/audit/rules.d/30-ospp-v42-3-access-success.rules': No such file or directory

Additional info:

Running just eval for the rule with

oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_ospp --rule xccdf_org.ssgproject.content_rule_audit_access_success /usr/share/xml/scap/ssg/content/ssg-rhel9-ds.xml

should report the result as informational.

The practial change should likely be adding .role=unscored and .severity=info to ospp.profile for audit_access_success.

Comment 3 Jan Černý 2022-07-01 12:47:16 UTC
there is an open PR in https://github.com/ComplianceAsCode/content/pull/9082

Comment 4 Jan Černý 2022-07-01 15:35:45 UTC
https://github.com/ComplianceAsCode/content/pull/9082 has been merged to upstream

Comment 17 errata-xmlrpc 2022-11-15 10:25:25 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:8131


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