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

RHEL 8: align with CIS 3, section 2 #11457

Merged

Conversation

vojtapolasek
Copy link
Collaborator

Description:

  • adjust the section 2 of the CIS policy file to be aligned with version 3.0.0
  • update rule references
  • update the PCI-DSS profile stability test because:
    • a rule was selected in PCI-DSS, but it was missing the prodtype for RHEL 8
    • the prodtype got added in this PR which is related to CIS
    • therefore, the rule got added into the PCI-DSS profile as well and the test has to be updated

Rationale:

  • effort to keep CIS profiles up-to-date

Review Hints:

  • download the CIS for RHEL 8 version 3
  • verify section 2 is aligned

@vojtapolasek vojtapolasek added Update Profile Issues or pull requests related to Profiles updates. RHEL8 Red Hat Enterprise Linux 8 product related. CIS CIS Benchmark related. labels Jan 18, 2024
@vojtapolasek vojtapolasek added this to the 0.1.72 milestone Jan 18, 2024
@vojtapolasek vojtapolasek requested a review from a team as a code owner January 18, 2024 13:57
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

@marcusburghardt marcusburghardt self-assigned this Jan 19, 2024
@openshift-merge-robot openshift-merge-robot added the needs-rebase Used by openshift-ci bot. label Jan 20, 2024
Copy link
Member

@marcusburghardt marcusburghardt left a comment

Choose a reason for hiding this comment

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

Thanks for the updates. There are only very few comments to be checked. And the conflicts should be relatively easy to be resolved after rebasing.

controls/cis_rhel8.yml Outdated Show resolved Hide resolved
controls/cis_rhel8.yml Show resolved Hide resolved
controls/cis_rhel8.yml Show resolved Hide resolved
controls/cis_rhel8.yml Show resolved Hide resolved
controls/cis_rhel8.yml Outdated Show resolved Hide resolved
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Used by openshift-ci bot. label Jan 23, 2024
@vojtapolasek
Copy link
Collaborator Author

Hello @marcusburghardt and thank you for the review. I rebased and made requested changes.

@marcusburghardt
Copy link
Member

Hello @marcusburghardt and thank you for the review. I rebased and made requested changes.

Great @vojtapolasek . I had just one last comment about the last changes in 2.2.20.

Copy link
Member

@marcusburghardt marcusburghardt left a comment

Choose a reason for hiding this comment

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

Great work. Thanks @vojtapolasek . We only need to wait the CI tests.

@Mab879
Copy link
Member

Mab879 commented Jan 23, 2024

@vojtapolasek please rebase

@vojtapolasek
Copy link
Collaborator Author

Rebased.

Copy link
Member

@marcusburghardt marcusburghardt left a comment

Choose a reason for hiding this comment

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

Thanks for the nice work @vojtapolasek .

Copy link

codeclimate bot commented Jan 24, 2024

Code Climate has analyzed commit f0aa2d5 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 58.5% (0.0% change).

View more on Code Climate.

@marcusburghardt marcusburghardt merged commit 2931d4f into ComplianceAsCode:master Jan 24, 2024
41 of 43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CIS CIS Benchmark related. RHEL8 Red Hat Enterprise Linux 8 product related. Update Profile Issues or pull requests related to Profiles updates.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants