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

Fix OS Release Comparing: 8.10 #43

Open
jrmetzger opened this issue Jan 17, 2025 · 2 comments · May be fixed by #39
Open

Fix OS Release Comparing: 8.10 #43

jrmetzger opened this issue Jan 17, 2025 · 2 comments · May be fixed by #39
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed invalid This doesn't seem right

Comments

@jrmetzger
Copy link
Contributor

jrmetzger commented Jan 17, 2025

# Waiting on: https://github.com/mitre/redhat-enterprise-linux-8-stig-baseline/pull/39
SV-230221:
  justification: This should pass since 8.10 is in correct time, need to account for 8.10 and 8.1 - RHEL 8 must be a vendor-supported release.
  run: false
SV-250316:
  justification: This should not be running on 8.10 - RHEL 8 systems below version 8.2 must configure SELinux context type to allow the use of a non-default faillock tally directory.
  run: false
SV-230332:
  justification: This should not be running on 8.10 - RHEL 8 must automatically lock an account when three unsuccessful logon attempts occur.
  run: false
SV-230338:
  justification: This should not be running on 8.10 - RHEL 8 must ensure account lockouts persist.
  run: false
SV-230342:
  justification: This should not be running on 8.10 - RHEL 8 must log user name information when unsuccessful logon attempts occur.
  run: false
SV-230344:
  justification: This should not be running on 8.10 - RHEL 8 must include root when automatically locking an account until the locked account is released by an administrator when three unsuccessful logon attempts occur during a 15-minute time period.
  run: false
@jrmetzger jrmetzger self-assigned this Jan 17, 2025
@jrmetzger jrmetzger added bug Something isn't working help wanted Extra attention is needed invalid This doesn't seem right labels Jan 17, 2025
@jrmetzger
Copy link
Contributor Author

jrmetzger commented Jan 17, 2025

describe os.release do
  it { should cmp < '8.2' }
end
  only_if('This check applies to RHEL versions 8.0 and 8.1. If the system is RHEL version 8.2 or newer, this check is Not Applicable.', impact: 0.0) do
    Gem::Version.new(os.release) < Gem::Version.new('8.2')
  end

@jrmetzger
Copy link
Contributor Author

#39

@jrmetzger jrmetzger linked a pull request Jan 17, 2025 that will close this issue
@jrmetzger jrmetzger changed the title Testing on 8.10, controls NA for this version of RHEL is still running Fix OS Release Comparing: 8.10 Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed invalid This doesn't seem right
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants