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

Update RHEL 9 STIG to V2R1 #12373

Merged
merged 6 commits into from
Sep 13, 2024

Conversation

Mab879
Copy link
Member

@Mab879 Mab879 commented Sep 10, 2024

Description:

  • Update RHEL 9 STIG to V2R1

Rationale:

Keep the STIG updated.

Closes #12237
Closes #12088

* Replace auid>=1000 with auid>={{{ uid_min }}}
* Ensure that < and > are correctly replaced with &lt; and &gt;
* Remove the Satisfies: SRG-OS.+ check text
@Mab879 Mab879 added RHEL9 Red Hat Enterprise Linux 9 product related. Update Profile Issues or pull requests related to Profiles updates. STIG STIG Benchmark related. labels Sep 10, 2024
@Mab879 Mab879 added this to the 0.1.75 milestone Sep 10, 2024
@Mab879 Mab879 requested a review from a team as a code owner September 10, 2024 20:47
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

Copy link

github-actions bot commented Sep 10, 2024

🤖 A k8s content image for this PR is available at:
ghcr.io/complianceascode/k8scontent:12373
This image was built from commit: 75b04f0

Click here to see how to deploy it

If you alread have Compliance Operator deployed:
utils/build_ds_container.py -i ghcr.io/complianceascode/k8scontent:12373

Otherwise deploy the content and operator together by checking out ComplianceAsCode/compliance-operator and:
CONTENT_IMAGE=ghcr.io/complianceascode/k8scontent:12373 make deploy-local

@Mab879 Mab879 marked this pull request as draft September 11, 2024 18:25
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Used by openshift-ci bot. label Sep 11, 2024
@Mab879 Mab879 marked this pull request as ready for review September 11, 2024 19:31
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Used by openshift-ci bot. label Sep 11, 2024
Copy link

codeclimate bot commented Sep 11, 2024

Code Climate has analyzed commit 75b04f0 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 59.5% (0.0% change).

View more on Code Climate.

@@ -18,7 +20,7 @@ checktext: |-
$ sudo /usr/lib/systemd/systemd-sysctl --cat-config | egrep -v '^(#|;)' | grep -F kernel.unprivileged_bpf_disabled | tail -1
kernel.unprivileged_bpf_disabled = 1

If the network parameter "ipv4.tcp_syncookies" is not equal to "1", or nothing is returned, this is a finding.
If the network parameter "kernel.unprivileged_bpf_disabled" is not equal to "1", or nothing is returned, this is a finding.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jan-cerny jan-cerny self-assigned this Sep 13, 2024
@jan-cerny jan-cerny merged commit b77bdbd into ComplianceAsCode:master Sep 13, 2024
100 checks passed
@Mab879 Mab879 deleted the update_rhel9_stig_v2r1 branch September 13, 2024 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RHEL9 Red Hat Enterprise Linux 9 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.

Update profile to DISA STIG RHEL 9 V2R1 Rule descriptions not up-to-date with the latest STIG
2 participants