Bug 2151553
| Summary: | Rules concerning audit check for content of specific files, and not /etc/audit/audit.rules ( ex xccdf_org.ssgproject.content_rule_audit_immutable_login_uids) | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Welterlen Benoit <bwelterl> | |
| Component: | scap-security-guide | Assignee: | Vojtech Polasek <vpolasek> | |
| Status: | CLOSED ERRATA | QA Contact: | Jiri Jaburek <jjaburek> | |
| Severity: | medium | Docs Contact: | Jan Fiala <jafiala> | |
| Priority: | unspecified | |||
| Version: | 8.6 | CC: | ggasparb, jafiala, jjaburek, mhaicman, mlysonek, vpolasek, wsato | |
| Target Milestone: | rc | Keywords: | Triaged, ZStream | |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | scap-security-guide-0.1.66-1.el8 | Doc Type: | Bug Fix | |
| Doc Text: |
.`scap-security-guide` STIG profiles no longer require specific text in `/etc/audit/rules.d/11-loginuid.rules`
Previously, the SCAP rule `audit_immutable_login_uids` used in RHEL 8 profiles `stig` and `stig_gui` passed only if file `/etc/audit/rules.d/11-loginuid.rules` contained exact text. This is, however, not necessary to fulfill the STIG requirement (RHEL-08-030122). With this update, the new rule `audit_rules_immutable_login_uids` replaces `audit_immutable_login_uids` in RHEL 8 `stig` and `stig_gui` profiles. As a result, you can now specify the `--loginuid-immutable` parameter that fulfills the rule in any file with the `.rules` extension within the `/etc/audit/rules.d` directory or in the `/etc/audit/audit.rules` file, depending on usage of `auditctl` or `augen-rules`.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 2168063 2168064 2168065 (view as bug list) | Environment: | ||
| Last Closed: | 2023-05-16 08:39:27 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2168063, 2168064, 2168065 | |||
|
Description
Welterlen Benoit
2022-12-07 13:51:16 UTC
I have also to add that if the exact content of the sample file /usr/share/audit/sample-rules/11-loginuid.rules is not in the tested file, it fails also (the comment included ...) I think only the required option should be tested. Thanks ! Fixed upstream: https://github.com/ComplianceAsCode/content/pull/10070 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-2023:2869 |