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
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 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.