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 1765981 - oscap is testing for audispd on rhel8
Summary: oscap is testing for audispd on rhel8
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: scap-security-guide
Version: 8.0
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: rc
: 8.0
Assignee: Watson Yuuma Sato
QA Contact: Matus Marhefka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-28 01:21 UTC by David Pinkerton
Modified: 2020-11-04 02:30 UTC (History)
3 users (show)

Fixed In Version: scap-security-guide-0.1.49-1.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 02:29:53 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot of test results (117.13 KB, image/png)
2019-10-28 01:21 UTC, David Pinkerton
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:4626 0 None None None 2020-11-04 02:30:13 UTC

Description David Pinkerton 2019-10-28 01:21:36 UTC
Created attachment 1629656 [details]
screenshot of test results

Description of problem:

openscap (ospp and pci-dss profiles) are failing on audispd which is not included in RHEL8



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

openscap-1.3.0-7.el8.x86_64
openscap-scanner-1.3.0-7.el8.x86_64
scap-security-guide-0.1.42-11.el8.noarch


How reproducible:


Steps to Reproduce:
1. install rhel8 and scap packages
2. /usr/bin/oscap xccdf eval --oval-results --profile ospp --report /tmp/$(hostname).html /usr/share/xml/scap/ssg/content/ssg-rhel8-ds.xml


Actual results:

Test: Configure auditd to use audispd's syslog plugin : FAILED

Expected results:

should not be tested

Additional info:

Comment 1 Jan Černý 2019-10-29 07:36:31 UTC
As can be seen from the screenshot, the OVAL correctly checks /etc/auditd/plugins.d/ and not /etc/audisp/plugins.d/. Only the rule title and description need to be updated. It hasn't been completed in https://github.com/ComplianceAsCode/content/pull/3620 which introduced the update of content for Audit >= 3.0 which is present in RHEL8.

Switching to correct component.

Comment 2 Watson Yuuma Sato 2020-01-22 10:41:49 UTC
The Rule 'auditd_audispd_syslog_plugin_activated' has been fixed to check for the right config files, done in PR mentioned in Comment 1.

The rule now passes on 'OSPP' but fails on 'PCI-DSS'.
The difference is the 'PCI-DSS' profile doesn't install 'audispd-plugin'.
Proposed fix: https://github.com/ComplianceAsCode/content/pull/5124

Comment 9 errata-xmlrpc 2020-11-04 02:29:53 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-2020:4626


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