Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add audit_rules_login_events_faillock to RHEL 8 STIG #10816

Merged
merged 1 commit into from
Jul 11, 2023

Conversation

jan-cerny
Copy link
Collaborator

The selection of the rule audit_rules_login_events_faillock has been commented out with a comment that the RHEL-08-020017 needs to be implemented first. But, the RHEL-08-020017 is now implemented by rule accounts_passwords_pam_faillock_dir, which didn't exist before. Therefore, we can uncomment the rule selection.

The rule "accounts_passwords_pam_faillock_dir" sets the value of the dir configuration option to /var/log/faillock which is the value of the faillock_path product property. So, we only need to use the product property in the rule.yml.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2167999

The selection of the rule audit_rules_login_events_faillock
has been commented out with a comment that the RHEL-08-020017
needs to be implemented first. But, the RHEL-08-020017 is now
implemented by rule accounts_passwords_pam_faillock_dir, which
didn't exist before. Therefore, we can uncomment the rule
selection.

The rule "accounts_passwords_pam_faillock_dir" sets the value
of the `dir` configuration option to `/var/log/faillock`
which is the value of the `faillock_path` product property.
So, we only need to use the product property in the rule.yml.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2167999
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Used by openshift-ci bot. label Jul 10, 2023
@openshift-ci
Copy link

openshift-ci bot commented Jul 10, 2023

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@jan-cerny jan-cerny marked this pull request as ready for review July 10, 2023 14:42
@jan-cerny jan-cerny requested a review from a team as a code owner July 10, 2023 14:42
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Used by openshift-ci bot. label Jul 10, 2023
@jan-cerny jan-cerny added do-not-merge/work-in-progress Used by openshift-ci bot. STIG STIG Benchmark related. RHEL8 Red Hat Enterprise Linux 8 product related. Update Profile Issues or pull requests related to Profiles updates. bugfix Fixes to reported bugs. labels Jul 10, 2023
@jan-cerny jan-cerny added this to the 0.1.69 milestone Jul 10, 2023
@github-actions
Copy link

Start a new ephemeral environment with changes proposed in this pull request:

Fedora Environment
Open in Gitpod

Oracle Linux 8 Environment
Open in Gitpod

@codeclimate
Copy link

codeclimate bot commented Jul 10, 2023

Code Climate has analyzed commit d0cfabc and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 53.5% (0.0% change).

View more on Code Climate.

@marcusburghardt marcusburghardt self-assigned this Jul 10, 2023
@jan-cerny jan-cerny removed the do-not-merge/work-in-progress Used by openshift-ci bot. label Jul 11, 2023
@marcusburghardt marcusburghardt merged commit 4fb5415 into ComplianceAsCode:master Jul 11, 2023
32 of 34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Fixes to reported bugs. RHEL8 Red Hat Enterprise Linux 8 product related. STIG STIG Benchmark related. Update Profile Issues or pull requests related to Profiles updates.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants